Skip to content

Commit a8eeaf7

Browse files
authored
Add build.proj to sync list when main branch is changed. (#15607)
Co-authored-by: wyunchi-ms <[email protected]>
1 parent dcc2e4b commit a8eeaf7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.azure-pipelines/util/sync-tools-folder-template.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ steps:
1313
cp src/lib src/lib-tmp -r
1414
1515
cp tools tools-tmp -r
16+
17+
cp build.proj build-tmp.proj
1618
pwsh: true
1719
- task: PowerShell@2
1820
displayName: Config git
@@ -25,6 +27,17 @@ steps:
2527
2628
git checkout -b syncToolsFolder-${{ parameters.BranchName }} origin/${{ parameters.BranchName }}
2729
pwsh: true
30+
- task: PowerShell@2
31+
displayName: Sync build.proj folder from main to ${{ parameters.BranchName }}
32+
inputs:
33+
targetType: inline
34+
script: >-
35+
rm build.proj
36+
37+
mv build-tmp.proj build.proj
38+
39+
git add build.proj
40+
pwsh: true
2841
- task: PowerShell@2
2942
displayName: Sync .azure-pipelines folder from main to ${{ parameters.BranchName }}
3043
inputs:

0 commit comments

Comments
 (0)