Skip to content

Commit fd13b71

Browse files
author
Thomas Boerger
committed
Added drone instead of travis detection to makefile
1 parent cd7e661 commit fd13b71

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ PACKAGES ?= $(shell go list ./... | grep -v /vendor/)
1919

2020
TAGS ?=
2121

22-
ifneq ($(TRAVIS_TAG),)
23-
VERSION ?= $(TRAVIS_TAG)
22+
ifneq ($(DRONE_TAG),)
23+
VERSION ?= $(DRONE_TAG)
2424
else
25-
ifneq ($(TRAVIS_BRANCH),)
26-
VERSION ?= $(TRAVIS_BRANCH)
25+
ifneq ($(DRONE_BRANCH),)
26+
VERSION ?= $(DRONE_BRANCH)
2727
else
2828
VERSION ?= master
2929
endif

0 commit comments

Comments
 (0)