diff options
author | John Olheiser <john.olheiser@gmail.com> | 2023-06-23 02:52:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-23 09:52:15 +0200 |
commit | 2e65c223dcb75824f7287bae35c3df69f23a22aa (patch) | |
tree | 97812a422c075f9311fa95473ab4f94d830ab91a /Makefile | |
parent | c0fc53e22602fc4b3c8d890d235d0911bef074fe (diff) | |
download | gitea-2e65c223dcb75824f7287bae35c3df69f23a22aa.tar.gz gitea-2e65c223dcb75824f7287bae35c3df69f23a22aa.zip |
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 <john.olheiser@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -84,7 +84,7 @@ GITHUB_REF_NAME ?= $(shell git rev-parse --abbrev-ref HEAD) ifneq ($(GITHUB_REF_TYPE),branch) VERSION ?= $(subst v,,$(GITHUB_REF_NAME)) - GITEA_VERSION ?= $(GITHUB_REF_NAME) + GITEA_VERSION ?= $(VERSION) else ifneq ($(GITHUB_REF_NAME),) VERSION ?= $(subst release/v,,$(GITHUB_REF_NAME)) |