File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ stages:
228228 if ($buildType -eq "PrivateBeta") {
229229 Write-Host "=== Encrypting build artifact with password ==="
230230 $zipPath = "$artifactSubdir/$name.zip"
231- & "C:/Program Files/7-Zip/7z.exe" a -tzip -mx=9 -p"$( ARTIFACT_PASSWORD) " -mem=AES256 $zipPath "$tempFolder/*"
231+ & "C:/Program Files/7-Zip/7z.exe" a -tzip -mx=9 -p"$env: ARTIFACT_PASSWORD" -mem=AES256 $zipPath "$tempFolder/*"
232232 } else {
233233 $zipPath = "$artifactSubdir/$name.zip"
234234 & "C:/Program Files/7-Zip/7z.exe" a -tzip -mx=9 $zipPath "$tempFolder/*"
Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ stages:
191191 echo "=== Creating cache directory and moving tarball ==="
192192 CACHE_DIR="$(Pipeline.Workspace)/Arduino-Source-Internal/cache-notarized"
193193 mkdir -p "$CACHE_DIR"
194- mv "$(Pipeline.Workspace)/Arduino-Source-Internal/SerialPrograms-MacOS-$(compiler)-$(architecture).tar.gz " "$CACHE_DIR/"
194+ mv "$(Pipeline.Workspace)/Arduino-Source-Internal/SerialPrograms-MacOS-$(compiler)-$(architecture).$EXT " "$CACHE_DIR/"
195195
196196 echo "=== Tarball created with enclosing folder: $FOLDER_NAME ==="
197197 displayName: 'Create a tarball'
You can’t perform that action at this time.
0 commit comments