1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Added drone instead of travis detection to makefile

This commit is contained in:
Thomas Boerger
2016-11-24 14:41:30 +01:00
parent cd7e661870
commit fd13b71fb2

View File

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