[CI] simplify running end-to-end tests while building a release

This commit is contained in:
Earl Warren 2024-03-20 20:20:42 +01:00
parent 89f8d33127
commit 03aebc4b0f
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
2 changed files with 12 additions and 4 deletions

View file

@ -9,4 +9,14 @@ forgejo_ref=$4
cd $end_to_end
date > last-upgrade
echo $FORGEJO_BINARY > forgejo/binary-url
organizations=lib/ORGANIZATIONS
if ! test -f $organizations ; then
echo "$organizations file not found"
false
fi
#
# do not include forgejo-experimental so that 7.0-test is found
# in forgejo-integration where it was just built instead of
# forgejo-experimental which was published by the previous build
#
echo forgejo forgejo-integration > $organizations