do not use the forgejo target as it may not always exist

This commit is contained in:
Earl Warren 2023-10-27 16:31:36 +02:00
parent aa967be51a
commit 657c381818
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -15,5 +15,9 @@ git clone --depth 1 -b $branch $url $DIR/src
cd $DIR/src cd $DIR/src
export TAGS="bindata sqlite sqlite_unlock_notify" export TAGS="bindata sqlite sqlite_unlock_notify"
make deps-backend backend make deps-backend backend
make VERSION=v$version GITEA_VERSION=v$version FORGEJO_VERSION=$semver generate forgejo #
mv forgejo $DIR/forgejo-$version # 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