diff options
author | Thomas Boerger <thomas@webhippie.de> | 2016-12-24 00:00:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-24 00:00:48 +0100 |
commit | 6aacf4d2f09631359b99df562b4bf31dcef44ea3 (patch) | |
tree | 2a551dcc0652a74d2da77cafe1d4233b13f12e85 /Makefile | |
parent | 7b67347104629872d4410a61ce8f78eebae40131 (diff) | |
download | gitea-6aacf4d2f09631359b99df562b4bf31dcef44ea3.tar.gz gitea-6aacf4d2f09631359b99df562b4bf31dcef44ea3.zip |
Properly handle drone tags and release/* branches (#466)v1.0.0
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,10 +15,10 @@ SOURCES ?= $(shell find . -name "*.go" -type f) TAGS ?= ifneq ($(DRONE_TAG),) - VERSION ?= $(DRONE_TAG) + VERSION ?= $(subst v,,$(DRONE_TAG)) else ifneq ($(DRONE_BRANCH),) - VERSION ?= $(DRONE_BRANCH) + VERSION ?= $(subst release/v,,$(DRONE_BRANCH)) else VERSION ?= master endif |