We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fbdacb commit ec539b7Copy full SHA for ec539b7
Makefile
@@ -85,12 +85,12 @@ GITHUB_REF_NAME ?= $(shell git rev-parse --abbrev-ref HEAD)
85
# backwards compatible to build with Drone
86
ifneq ($(DRONE_TAG),)
87
GITHUB_REF_TYPE := tag
88
- GITHUB_REF_NAME := DRONE_TAG
+ GITHUB_REF_NAME := $(DRONE_TAG)
89
endif
90
91
ifneq ($(GITHUB_REF_TYPE),branch)
92
VERSION ?= $(subst v,,$(GITHUB_REF_NAME))
93
- GITEA_VERSION ?= $(GITHUB_REF_NAME)
+ GITEA_VERSION ?= $(VERSION)
94
else
95
ifneq ($(GITHUB_REF_NAME),)
96
VERSION ?= $(subst release/v,,$(GITHUB_REF_NAME))
0 commit comments