do not use the forgejo target as it may not always exist
This commit is contained in:
parent
aa967be51a
commit
657c381818
1 changed files with 6 additions and 2 deletions
|
@ -15,5 +15,9 @@ git clone --depth 1 -b $branch $url $DIR/src
|
|||
cd $DIR/src
|
||||
export TAGS="bindata sqlite sqlite_unlock_notify"
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue