Skip to content

Commit

Permalink
(+semver: fix) Fix version argument
Browse files Browse the repository at this point in the history
  • Loading branch information
thzinc committed May 25, 2020
1 parent a8abf52 commit cdca340
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ jobs:

- name: build
run: make package
env:
VERSION: ${{ steps.gogitver.outputs.version }}

- uses: actions/[email protected]
env:
Expand Down
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ LINUX_BUILD_PATH = $(BUILD_PATH)/linux/gva
LINUX_ARM_BUILD_PATH = $(BUILD_PATH)/arm/gva
WINDOWS_BUILD_PATH = $(BUILD_PATH)/windows/gva.exe
MAC_BUILD_PATH = $(BUILD_PATH)/darwin/gva
VERSION:=$(shell gogitver)
VERSION?=$(shell gogitver)
COMMIT_HASH:=$(shell git rev-parse HEAD)
BUILD_DATE:=$(shell date +%Y-%m-%dT%T%z)
BUILD_FLAGS:=\
Expand Down

0 comments on commit cdca340

Please sign in to comment.