Skip to content

Commit 2e65c22

Browse files
authored
Gitea version in Makefile (#25456)
As title, this is how it was inferred before https://github.com/go-gitea/gitea/blob/e24f651c86a5168da8181f2c75f5f99b56561224/Makefile#L83-L84 We moved to actions, however `GITEA_VERSION` should still work to use `VERSION` Signed-off-by: jolheiser <[email protected]>
1 parent c0fc53e commit 2e65c22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ GITHUB_REF_NAME ?= $(shell git rev-parse --abbrev-ref HEAD)
8484

8585
ifneq ($(GITHUB_REF_TYPE),branch)
8686
VERSION ?= $(subst v,,$(GITHUB_REF_NAME))
87-
GITEA_VERSION ?= $(GITHUB_REF_NAME)
87+
GITEA_VERSION ?= $(VERSION)
8888
else
8989
ifneq ($(GITHUB_REF_NAME),)
9090
VERSION ?= $(subst release/v,,$(GITHUB_REF_NAME))

0 commit comments

Comments
 (0)