We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 961ef59 commit 9cfc425Copy full SHA for 9cfc425
.github/workflows/release.yaml
@@ -159,7 +159,7 @@ jobs:
159
done
160
161
if [ "$GOOS" = "windows" ]; then
162
- powershell -NoLogo -NoProfile -Command "Compress-Archive -Path '$(pwd)/${root}/*' -DestinationPath '$(pwd)/dist/packages/${base}.zip' -Force"
+ powershell -NoLogo -NoProfile -Command "\$source = Join-Path (Get-Location) '${root}'; \$destination = Join-Path (Get-Location) 'dist/packages/${base}.zip'; Compress-Archive -Path (Join-Path \$source '*') -DestinationPath \$destination -Force"
163
else
164
tar -C "dist/archive" -czf "dist/packages/${base}.tar.gz" "${base}"
165
fi
0 commit comments