mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 23:40:29 +03:00
Improve xml string extracting support
* Shield ourselves from newlines that would break metadata files * Properly use string resources for version names
This commit is contained in:
parent
52c2ca1fe7
commit
5aa9e2289d
2 changed files with 7 additions and 19 deletions
|
|
@ -366,13 +366,6 @@ def fetch_autoname(app, tag):
|
|||
else:
|
||||
logging.debug("...couldn't get autoname")
|
||||
|
||||
if app['Current Version'].startswith('@string/'):
|
||||
cv = common.version_name(app['Current Version'], app_dir, flavours)
|
||||
if app['Current Version'] != cv:
|
||||
app['Current Version'] = cv
|
||||
if not commitmsg:
|
||||
commitmsg = "Fix CV of {0}".format(common.getappname(app))
|
||||
|
||||
return commitmsg
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue