1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 10:40:12 +02:00

Some extra diagnostics stuff in build.py

This commit is contained in:
Ciaran Gultnieks 2011-10-02 11:52:13 +01:00
parent 3f6df78e59
commit 29ada7392f
2 changed files with 5 additions and 0 deletions

View File

@ -101,6 +101,8 @@ for app in apps:
root_dir = build_dir
# Get a working copy of the right revision...
if options.verbose:
print "Resetting repository to " + thisbuild['commit']
vcs.reset(thisbuild['commit'])
# Initialise submodules if requred...
@ -419,6 +421,9 @@ for app in apps:
if (version != thisbuild['version'] or
vercode != thisbuild['vercode']):
print "Unexpected version/version code in output"
print "APK:" + version + " / " + str(vercode)
print ("Expected: " + thisbuild['version'] + " / " +
str(thisbuild['vercode']))
sys.exit(1)
# Copy the unsigned apk to our temp directory for further

Binary file not shown.