forked from kevadesu/forgejo
[CI] name the test release after the latest v*-dev tag
Also ignore the *-test tags when figuring out the Forgejo version, they exist in the integration repository and experimental repository for daily releases.
This commit is contained in:
parent
6531d765a0
commit
2762dd9597
3 changed files with 4 additions and 4 deletions
2
Makefile
2
Makefile
|
@ -90,7 +90,7 @@ STORED_VERSION=$(shell cat $(STORED_VERSION_FILE) 2>/dev/null)
|
|||
ifneq ($(STORED_VERSION),)
|
||||
FORGEJO_VERSION ?= $(STORED_VERSION)
|
||||
else
|
||||
FORGEJO_VERSION ?= $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')
|
||||
FORGEJO_VERSION ?= $(shell git describe --exclude '*-test' --tags --always | sed 's/-/+/' | sed 's/^v//')
|
||||
endif
|
||||
RELEASE_VERSION ?= ${FORGEJO_VERSION}
|
||||
VERSION ?= ${RELEASE_VERSION}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue