From fd13b71fb2d6f4f1fbb05da8d9e179d708637f74 Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Thu, 24 Nov 2016 14:41:30 +0100 Subject: [PATCH] Added drone instead of travis detection to makefile --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 7370d53cbed7..88eafb048884 100644 --- a/Makefile +++ b/Makefile @@ -19,11 +19,11 @@ PACKAGES ?= $(shell go list ./... | grep -v /vendor/) TAGS ?= -ifneq ($(TRAVIS_TAG),) - VERSION ?= $(TRAVIS_TAG) +ifneq ($(DRONE_TAG),) + VERSION ?= $(DRONE_TAG) else - ifneq ($(TRAVIS_BRANCH),) - VERSION ?= $(TRAVIS_BRANCH) + ifneq ($(DRONE_BRANCH),) + VERSION ?= $(DRONE_BRANCH) else VERSION ?= master endif