CI/drone: use DRONE_TAG

pull/287/head
iwilltry42 4 years ago
parent 32b7934f14
commit acfa952b51
No known key found for this signature in database
GPG Key ID: 7BA57AD1CFF16110
  1. 2
      .drone.yml
  2. 2
      Makefile

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

@ -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

Loading…
Cancel
Save