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:
parent
3f6df78e59
commit
29ada7392f
5
build.py
5
build.py
@ -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.
Loading…
Reference in New Issue
Block a user