Skip to content

Commit 33a105d

Browse files
committed
fix: use dynamic version from git tag in build script
1 parent 071bb9b commit 33a105d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
- name: Build release
6565
run: |
6666
chmod +x build-release.sh
67-
./build-release.sh
67+
./build-release.sh ${{ steps.version.outputs.VERSION }}
6868
6969
- name: Create Release
7070
uses: softprops/action-gh-release@v2

build-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
set -e
77

8-
VERSION="1.2.0"
8+
VERSION=${1:-"1.2.0"}
99
APP_NAME="go-sol-sign"
1010
PLATFORMS=(
1111
"linux/amd64"

0 commit comments

Comments
 (0)