fix: app version when build with github-actions
because actions/checkout@v2 doesn't load tags :(
This commit is contained in:
parent
5d824f104e
commit
ac2ae8d89e
2
.github/workflows/binary-release.yml
vendored
2
.github/workflows/binary-release.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
|||||||
go-version: '1.13.0'
|
go-version: '1.13.0'
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: make -j $(nproc) compile
|
run: make -j $(nproc) compile VERSION=${{ steps.get_version.outputs.VERSION }}
|
||||||
|
|
||||||
- name: create release
|
- name: create release
|
||||||
id: create_release
|
id: create_release
|
||||||
|
Loading…
Reference in New Issue
Block a user