Skip to content

Commit

Permalink
use ref_name in control
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewWertman committed Oct 18, 2024
1 parent 8d718be commit 0cedd18
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ jobs:
- if: runner.os == 'Linux'
shell: bash
run: |
# vars
REF_NAME=${{ github.ref_name }}
VERSION_NO_V=${REF_NAME:1}
# package portable
zip -r BitCapIPR-${{ github.ref_name}}-linux-amd64-portable.zip dist/BitCapIPR
Expand All @@ -64,7 +67,7 @@ jobs:
cat > package/DEBIAN/control << "EOF"
Package: bitcapipr
Version: ${{ github.ref_name }}
Version: $VERSION_NO_V
Maintainer: MatthewWertman
Architecture: amd64
Homepage: https://github.com/bitcap-co/bitcap-ipr
Expand Down

0 comments on commit 0cedd18

Please sign in to comment.