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 5
5
branches :
6
6
include :
7
7
- onebranch
8
- - v3. *
8
+ - release/v *
9
9
10
10
schedules :
11
11
- cron : ' 0 3 * * 1'
Original file line number Diff line number Diff line change @@ -661,13 +661,15 @@ if ($packageType -eq 'msixbundle') {
661
661
}
662
662
663
663
# 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'
666
666
} elseif ($architecture -eq ' x86_64-unknown-linux-musl' ) {
667
- $architecture = ' x86_64-linux'
667
+ ' x86_64-linux'
668
+ } else {
669
+ $architecture
668
670
}
669
671
670
- $packageName = " DSC-$productVersion -$architecture .tar"
672
+ $packageName = " DSC-$productVersion -$productArchitecture .tar"
671
673
$tarFile = Join-Path $PSScriptRoot ' bin' $packageName
672
674
tar cvf $tarFile - C $tgzTarget .
673
675
if ($LASTEXITCODE -ne 0 ) {
You can’t perform that action at this time.
0 commit comments