Make sure version is set when building final binaries

This commit is contained in:
IamTheFij 2020-08-19 13:57:49 -07:00
parent a5f9b0866f
commit 2808b07b09
1 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,8 @@ trigger:
steps: steps:
- name: build - name: build
image: golang:1.12 image: golang:1.12
environment:
VERSION: ${DRONE_TAG:-${DRONE_COMMIT}}
commands: commands:
- make build-linux-static - make build-linux-static