Skip to content

Commit 97697f7

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
copy tgz
1 parent 1d0245c commit 97697f7

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.pipelines/DSC-Official.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ extends:
209209
- pwsh: |
210210
./build.ps1 -Release -Architecture x86_64-unknown-linux-gnu
211211
./build.ps1 -PackageType tgz -Architecture x86_64-unknown-linux-gnu -Release
212+
Copy-Item ./bin/*.tar.gz "$(ob_outputDirectory)"
212213
displayName: 'Build x86_64-unknown-linux-gnu'
213214
condition: succeeded()
214215
@@ -225,6 +226,7 @@ extends:
225226
- pwsh: |
226227
./build.ps1 -Release -Architecture aarch64-unknown-linux-gnu
227228
./build.ps1 -PackageType tgz -Architecture aarch64-unknown-linux-gnu -Release
229+
Copy-Item ./bin/*.tar.gz "$(ob_outputDirectory)"
228230
displayName: 'Build aarch64-unknown-linux-gnu'
229231
condition: succeeded()
230232
@@ -249,6 +251,7 @@ extends:
249251
- pwsh: |
250252
./build.ps1 -Release -Architecture $(buildName)
251253
./build.ps1 -PackageType tgz -Architecture $(buildName) -Release
254+
Copy-Item ./bin/*.tar.gz "$(ob_outputDirectory)"
252255
displayName: 'Build $(buildName)'
253256
condition: succeeded()
254257

build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ if ($packageType -eq 'msixbundle') {
531531
}
532532
}
533533

534-
$packageName = "DSC-$productVersion-$architecture.tgz"
534+
$packageName = "DSC-$productVersion-$architecture.tar.gz"
535535
$tgzFile = Join-Path $PSScriptRoot 'bin' $packageName
536536
tar cvf $tgzFile -C $tgzTarget .
537537
Write-Host -ForegroundColor Green "`nTgz file is created at $tgzFile"

0 commit comments

Comments
 (0)