mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
Merge master into gradle
This commit is contained in:
parent
8866724f05
commit
8c8a20bcb1
@ -71,8 +71,11 @@ def check_tags(app, sdk_path):
|
||||
vcs.gotorevision(tag)
|
||||
|
||||
# Only process tags where the manifest exists...
|
||||
if os.path.exists(common.manifest_path(build_dir)):
|
||||
path = common.manifest_path(build_dir)
|
||||
print "Trying manifest at %s" % path
|
||||
if os.path.exists(path):
|
||||
version, vercode, package = common.parse_androidmanifest(build_dir)
|
||||
print "Manifest exists. Found version %s" % version
|
||||
if package and package == app['id'] and version and vercode:
|
||||
if int(vercode) > int(hcode):
|
||||
hcode = str(int(vercode))
|
||||
|
@ -1070,6 +1070,7 @@ def getsrclib(spec, srclib_dir, sdk_path, ndk_path="", mvn3="", basepath=False,
|
||||
+ name, out, err)
|
||||
|
||||
if srclib["Update Project"] == "Yes":
|
||||
print "Updating srclib %s at path %s" % (name, libdir)
|
||||
if subprocess.call([os.path.join(sdk_path, 'tools', 'android'),
|
||||
'update', 'project', '-p', libdir]) != 0:
|
||||
raise BuildException( 'Error updating ' + name + ' project')
|
||||
|
Loading…
Reference in New Issue
Block a user