Skip to content

Commit

Permalink
ci: include version in portable binary
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed Dec 25, 2024
1 parent eb6bdbd commit 8d015b9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,19 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
- run: cargo build --release
- run: mv ./target/release/wifi-qr.exe wifi-qr.exe
- run: cp wifi-qr.exe wifi-qr-${{github.ref_name}}.exe
- name: install NSIS
run: |
iwr -useb get.scoop.sh -outfile 'install.ps1'
.\install.ps1 -RunAsAdmin
scoop update
scoop bucket add extras
scoop install nsis
scoop install nsis
- run: makensis /V4 installer.nsi
- run: mv wifi-qr-setup.exe wifi-qr-${{github.ref_name}}-setup.exe
- name: release
uses: softprops/action-gh-release@v1
with:
files: |
wifi-qr.exe
wifi-qr-${{github.ref_name}}.exe
wifi-qr-${{github.ref_name}}-setup.exe

0 comments on commit 8d015b9

Please sign in to comment.