We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e24b12 commit a221812Copy full SHA for a221812
.azure-pipelines/code-gen.yml
@@ -58,13 +58,14 @@ jobs:
58
cp -r ./* ../../artifacts/src/$env:SERVICENAME
59
pwsh: true
60
workingDirectory: src/$(ServiceName)
61
- - task: CmdLine@2
+ - task: PowerShell@2
62
displayName: Checkout main branch
63
inputs:
64
+ targetType: inline
65
script: >
- RMDIR /Q/S src\%SERVICENAME%
66
- git checkout src\%SERVICENAME%
67
- git checkout -b codegen/%SERVICENAME% origin/%BaseBranch%
+ mkdir src/$env:SERVICENAME
+ git checkout src/$env:SERVICENAME
68
+ git checkout -b codegen/$env:SERVICENAME origin/$env:BaseBranch
69
- task: PowerShell@2
70
displayName: Move code to main
71
condition: eq(variables.ServiceSubmoduleName, '')
0 commit comments