diff options
author | Thomas Boerger <tboerger@suse.de> | 2016-11-24 14:41:30 +0100 |
---|---|---|
committer | Thomas Boerger <tboerger@suse.de> | 2016-11-24 14:41:30 +0100 |
commit | fd13b71fb2d6f4f1fbb05da8d9e179d708637f74 (patch) | |
tree | b83c778f06d0811b3d9ee6d6b242f393d8cf83dd /Makefile | |
parent | cd7e6618707477c554ac37d56cf4565851c81d3c (diff) | |
download | gitea-fd13b71fb2d6f4f1fbb05da8d9e179d708637f74.tar.gz gitea-fd13b71fb2d6f4f1fbb05da8d9e179d708637f74.zip |
Added drone instead of travis detection to makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |