Make sure version is set when building final binaries
This commit is contained in:
parent
a5f9b0866f
commit
2808b07b09
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user