Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: attempt at windows release fix #108

Merged
merged 1 commit into from
May 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/release-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,12 +231,12 @@ jobs:
- run: cargo build --release
- name: Extract version from tag
id: version
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $env:GITHUB_ENV
- name: Package as archive
run: |
cd target/release
zip -j quary-${{ env.VERSION }}-windows-x86_64-gnu.zip quary.exe
mv quary-${{ env.VERSION }}-windows-x86_64-gnu.zip ../../
Compress-Archive -Path quary.exe -DestinationPath "quary-${{ env.VERSION }}-windows-x86_64-gnu.zip"
Move-Item -Path "quary-${{ env.VERSION }}-windows-x86_64-gnu.zip" -Destination "../../"
- name: Upload Release Asset
uses: softprops/action-gh-release@9d7c94cfd0a1f3ed45544c887983e9fa900f0564 # ratchet:softprops/action-gh-release@v2.0.4
with:
Expand Down
Loading