File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 55 branches :
66 include :
77 - onebranch
8- - v3. *
8+ - release/v *
99
1010schedules :
1111- cron : ' 0 3 * * 1'
Original file line number Diff line number Diff line change @@ -661,13 +661,15 @@ if ($packageType -eq 'msixbundle') {
661661 }
662662
663663 # for Linux, we only build musl as its statically linked, so we remove the musl suffix
664- if ($architecture -eq ' aarch64-unknown-linux-musl' ) {
665- $architecture = ' aarch64-linux'
664+ $productArchitecture = if ($architecture -eq ' aarch64-unknown-linux-musl' ) {
665+ ' aarch64-linux'
666666 } elseif ($architecture -eq ' x86_64-unknown-linux-musl' ) {
667- $architecture = ' x86_64-linux'
667+ ' x86_64-linux'
668+ } else {
669+ $architecture
668670 }
669671
670- $packageName = " DSC-$productVersion -$architecture .tar"
672+ $packageName = " DSC-$productVersion -$productArchitecture .tar"
671673 $tarFile = Join-Path $PSScriptRoot ' bin' $packageName
672674 tar cvf $tarFile - C $tgzTarget .
673675 if ($LASTEXITCODE -ne 0 ) {
You can’t perform that action at this time.
0 commit comments