mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-08 08:20:28 +03:00
Some extra diagnostics stuff in build.py
This commit is contained in:
parent
3f6df78e59
commit
29ada7392f
2 changed files with 5 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue