mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
tests: only run source tarball test if running from git clone
This commit is contained in:
parent
60173d35df
commit
a9aa8788e0
1 changed files with 13 additions and 11 deletions
|
|
@ -636,6 +636,8 @@ $fdroid install || true
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------#
|
#------------------------------------------------------------------------------#
|
||||||
|
# only run this test if running from a git repo, not all files are in the tarball
|
||||||
|
if [ -e .git/config ]; then
|
||||||
echo_header "create a source tarball"
|
echo_header "create a source tarball"
|
||||||
|
|
||||||
cd $WORKSPACE
|
cd $WORKSPACE
|
||||||
|
|
@ -648,7 +650,7 @@ cd $REPOROOT
|
||||||
./fdroidserver-*/fdroid init
|
./fdroidserver-*/fdroid init
|
||||||
copy_apks_into_repo $REPOROOT
|
copy_apks_into_repo $REPOROOT
|
||||||
./fdroidserver-*/fdroid update --create-metadata --verbose
|
./fdroidserver-*/fdroid update --create-metadata --verbose
|
||||||
|
fi
|
||||||
|
|
||||||
#------------------------------------------------------------------------------#
|
#------------------------------------------------------------------------------#
|
||||||
echo_header "test config checks of local_copy_dir"
|
echo_header "test config checks of local_copy_dir"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue