Skip to content

Commit 0cedd18

Browse files
use ref_name in control
1 parent 8d718be commit 0cedd18

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ jobs:
5252
- if: runner.os == 'Linux'
5353
shell: bash
5454
run: |
55+
# vars
56+
REF_NAME=${{ github.ref_name }}
57+
VERSION_NO_V=${REF_NAME:1}
5558
# package portable
5659
zip -r BitCapIPR-${{ github.ref_name}}-linux-amd64-portable.zip dist/BitCapIPR
5760
@@ -64,7 +67,7 @@ jobs:
6467
6568
cat > package/DEBIAN/control << "EOF"
6669
Package: bitcapipr
67-
Version: ${{ github.ref_name }}
70+
Version: $VERSION_NO_V
6871
Maintainer: MatthewWertman
6972
Architecture: amd64
7073
Homepage: https://github.com/bitcap-co/bitcap-ipr

0 commit comments

Comments
 (0)