mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
run-tests: fix copying of urzip.apk into new repo
This commit is contained in:
parent
d01e814e36
commit
b8a3bce430
1 changed files with 4 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue