add tests for Fastlane changelogs including default.txt

This commit is contained in:
Hans-Christoph Steiner 2022-10-31 09:23:09 +01:00
parent afec880c81
commit 8b484b37bd
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA
3 changed files with 48 additions and 1 deletions

View file

@ -997,7 +997,7 @@ def insert_localized_app_metadata(apps):
_set_localized_text_entry(apps[packageName], locale, 'whatsNew',
os.path.join(root, f))
elif f == 'default.txt':
# use `default.txt` changelog entry as fallback.
# use "default.txt" changelog entry as fallback.
localized = _get_localized_dict(apps[packageName], locale)
if not localized.get('whatsNew', ''):
_set_localized_text_entry(apps[packageName], locale, 'whatsNew',