Make sure version is set when building final binaries
This commit is contained in:
parent
c742a324ed
commit
3de07349ed
@ -56,6 +56,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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user