Skip to content

Commit 31f77fc

Browse files
Copilotrzhao271
andauthored
Fix publishing pipeline to download prebuilds from current branch (#899)
* Initial plan * Fix publishing pipeline to use current branch for prebuild artifact lookup Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>
1 parent 1b87bd0 commit 31f77fc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ extends:
4646
project: 'Monaco'
4747
definition: '647'
4848
buildVersionToDownload: 'latestFromBranch'
49-
branchName: 'refs/heads/main'
49+
branchName: '$(Build.SourceBranch)'
5050
artifactName: 'prebuilds-$(Build.SourceVersion)'
5151
targetPath: 'prebuilds'
5252
- pwsh: |
@@ -69,7 +69,7 @@ extends:
6969
project: 'Monaco'
7070
definition: '647'
7171
buildVersionToDownload: 'latestFromBranch'
72-
branchName: 'refs/heads/main'
72+
branchName: '$(Build.SourceBranch)'
7373
artifactName: 'prebuilds-$(Build.SourceVersion)'
7474
targetPath: 'prebuilds'
7575
- bash: chmod +x prebuilds/darwin-*/spawn-helper

0 commit comments

Comments
 (0)