CI/drone: use DRONE_TAG

This commit is contained in:
iwilltry42 2020-06-17 20:05:01 +02:00
parent 32b7934f14
commit acfa952b51
No known key found for this signature in database
GPG Key ID: 7BA57AD1CFF16110
2 changed files with 3 additions and 1 deletions

View File

@ -37,6 +37,8 @@ steps:
- name: build
image: golang:1.14
environment:
GIT_TAG: ${DRONE_TAG}
commands:
- make ci-setup
- make build-cross

View File

@ -16,7 +16,7 @@ export GO111MODULE=on
########## Tags ##########
# get git tag
GIT_TAG := $(shell git describe --tags)
GIT_TAG ?= $(shell git describe --tags)
ifeq ($(GIT_TAG),)
GIT_TAG := $(shell git describe --always)
endif