[CI] simplify end-to-end test cascading PR

Closes: https://codeberg.org/forgejo/forgejo/issues/2670
This commit is contained in:
Earl Warren 2024-03-20 17:32:06 +01:00
parent cc1c000ac8
commit a1889ac348
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
3 changed files with 14 additions and 47 deletions

View file

@ -95,6 +95,7 @@ else
FORGEJO_VERSION ?= $(shell git describe --exclude '*-test' --tags --always | sed 's/^v//' | sed 's/\-g/-/')+${GITEA_COMPATIBILITY}
endif
FORGEJO_VERSION_MAJOR=$(shell echo $(FORGEJO_VERSION) | sed -e 's/\..*//')
FORGEJO_VERSION_MINOR=$(shell echo $(FORGEJO_VERSION) | sed -E -e 's/^([0-9]+\.[0-9]+).*/\1/')
show-version-full:
@echo ${FORGEJO_VERSION}
@ -102,6 +103,9 @@ show-version-full:
show-version-major:
@echo ${FORGEJO_VERSION_MAJOR}
show-version-minor:
@echo ${FORGEJO_VERSION_MINOR}
RELEASE_VERSION ?= ${FORGEJO_VERSION}
VERSION ?= ${RELEASE_VERSION}