Revert "Hardcode version"
Some checks failed
testing / backend-checks (push) Successful in 7m36s
testing / frontend-checks (push) Successful in 1m36s
testing / test-unit (push) Successful in 13m28s
testing / test-mysql (push) Successful in 28m10s
testing / test-pgsql (push) Successful in 34m5s
testing / test-sqlite (push) Successful in 28m38s
Integration tests for the release process / release-simulation (push) Has been cancelled
/ release (push) Has been cancelled

This reverts commit 0e04577104.
This commit is contained in:
thepaperpilot 2024-03-06 14:24:07 +00:00
parent 0e04577104
commit ded637735a

View file

@ -91,7 +91,7 @@ STORED_VERSION=$(shell cat $(STORED_VERSION_FILE) 2>/dev/null)
ifneq ($(STORED_VERSION),) ifneq ($(STORED_VERSION),)
FORGEJO_VERSION ?= $(STORED_VERSION) FORGEJO_VERSION ?= $(STORED_VERSION)
else else
FORGEJO_VERSION ?= v7.0.0-dev-1281-gffe2962dfa+${GITEA_COMPATIBILITY} FORGEJO_VERSION ?= $(shell git describe --exclude '*-test' --tags --always | sed 's/^v//')+${GITEA_COMPATIBILITY}
endif endif
FORGEJO_VERSION_MAJOR=$(shell echo $(FORGEJO_VERSION) | sed -e 's/\..*//') FORGEJO_VERSION_MAJOR=$(shell echo $(FORGEJO_VERSION) | sed -e 's/\..*//')