upgrade: fix the version number
FORGEJO_VERSION=$semver must be set for make backend
This commit is contained in:
parent
77b08e6e33
commit
4dc1068027
1 changed files with 4 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue