mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-07-14 13:00:08 +02:00
run-tests: fix copying of urzip.apk into new repo
This commit is contained in:
parent
d01e814e36
commit
b8a3bce430
@ -343,7 +343,8 @@ $fdroid readmeta
|
|||||||
test -e repo/index.xml
|
test -e repo/index.xml
|
||||||
test -e repo/index.jar
|
test -e repo/index.jar
|
||||||
grep -F '<application id=' repo/index.xml > /dev/null
|
grep -F '<application id=' repo/index.xml > /dev/null
|
||||||
cp $WORKSPACE/tests/urzip.apk $REPOROOT/
|
test -e $REPOROOT/repo/info.guardianproject.urzip_100.apk || \
|
||||||
|
cp $WORKSPACE/tests/urzip.apk $REPOROOT/repo/
|
||||||
$fdroid update --create-metadata
|
$fdroid update --create-metadata
|
||||||
$fdroid readmeta
|
$fdroid readmeta
|
||||||
test -e repo/index.xml
|
test -e repo/index.xml
|
||||||
@ -369,8 +370,8 @@ KEYSTORE=$REPOROOT/keystore.jks
|
|||||||
cd $REPOROOT
|
cd $REPOROOT
|
||||||
touch config.py
|
touch config.py
|
||||||
touch fdroid-icon.png
|
touch fdroid-icon.png
|
||||||
mkdir repo/
|
mkdir repo
|
||||||
cp $WORKSPACE/tests/urzip.apk $REPOROOT/
|
cp $WORKSPACE/tests/urzip.apk $REPOROOT/repo/
|
||||||
set +e
|
set +e
|
||||||
$fdroid update --create-metadata
|
$fdroid update --create-metadata
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user