upgrade: fix the version number

FORGEJO_VERSION=$semver must be set for make backend
This commit is contained in:
Twenty Panda 2024-03-14 11:14:51 +07:00 committed by p
parent 77b08e6e33
commit 4dc1068027

View file

@ -22,11 +22,8 @@ else
git clone --depth 1 -b $ref $url $DIR/src
cd $DIR/src
fi
export TAGS="bindata sqlite sqlite_unlock_notify"
export TAGS="bindata sqlite sqlite_unlock_notify" FORGEJO_VERSION=$semver
make deps-backend backend
#
# use the gitea target here so that branches that do not contain the commit that adds
# the `forgejo` target to the Makefile can build successfully
#
make VERSION=v$version GITEA_VERSION=v$version FORGEJO_VERSION=$semver generate gitea
mv gitea $DIR/forgejo-$version
make generate forgejo
mv forgejo $DIR/forgejo-$version