Added drone instead of travis detection to makefile

tokarchuk/v1.17
Thomas Boerger 8 years ago
parent cd7e661870
commit fd13b71fb2
No known key found for this signature in database
GPG Key ID: 5A388F55283960B6
  1. 8
      Makefile

@ -19,11 +19,11 @@ PACKAGES ?= $(shell go list ./... | grep -v /vendor/)
TAGS ?= TAGS ?=
ifneq ($(TRAVIS_TAG),) ifneq ($(DRONE_TAG),)
VERSION ?= $(TRAVIS_TAG) VERSION ?= $(DRONE_TAG)
else else
ifneq ($(TRAVIS_BRANCH),) ifneq ($(DRONE_BRANCH),)
VERSION ?= $(TRAVIS_BRANCH) VERSION ?= $(DRONE_BRANCH)
else else
VERSION ?= master VERSION ?= master
endif endif

Loading…
Cancel
Save