Skip to content

Commit 78d5c28

Browse files
echo shell var
1 parent 0cedd18 commit 78d5c28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
run: |
5555
# vars
5656
REF_NAME=${{ github.ref_name }}
57-
VERSION_NO_V=${REF_NAME:1}
57+
VERSION_NO_V=${REF_NAME#v}
5858
# package portable
5959
zip -r BitCapIPR-${{ github.ref_name}}-linux-amd64-portable.zip dist/BitCapIPR
6060
@@ -67,7 +67,7 @@ jobs:
6767
6868
cat > package/DEBIAN/control << "EOF"
6969
Package: bitcapipr
70-
Version: $VERSION_NO_V
70+
Version: $(echo $VERSION_NO_V)
7171
Maintainer: MatthewWertman
7272
Architecture: amd64
7373
Homepage: https://github.com/bitcap-co/bitcap-ipr

0 commit comments

Comments
 (0)