fix: app version when build with github-actions

because actions/checkout@v2 doesn't load tags :(
This commit is contained in:
GenZmeY 2021-01-09 07:56:14 +03:00
parent 5d824f104e
commit ac2ae8d89e

View File

@ -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