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
|
git clone --depth 1 -b $ref $url $DIR/src
|
||||||
cd $DIR/src
|
cd $DIR/src
|
||||||
fi
|
fi
|
||||||
export TAGS="bindata sqlite sqlite_unlock_notify"
|
|
||||||
|
export TAGS="bindata sqlite sqlite_unlock_notify" FORGEJO_VERSION=$semver
|
||||||
make deps-backend backend
|
make deps-backend backend
|
||||||
#
|
make generate forgejo
|
||||||
# use the gitea target here so that branches that do not contain the commit that adds
|
mv forgejo $DIR/forgejo-$version
|
||||||
# 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
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue