mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-03-28 20:31:39 -04:00
Don't generate fastlane file if changelog entry is empty
This commit is contained in:
@@ -24,5 +24,8 @@ with open('CHANGELOG.md') as changelog:
|
||||
text.append(re.sub(r'\[(.*?)\]\((.*?)\)', r'\1 (\2)', line))
|
||||
|
||||
for version, description in changelogs.items():
|
||||
if not description:
|
||||
continue
|
||||
|
||||
with open(os.path.join("fastlane", "metadata", "android", "en-US", "changelogs", f"{version}.txt"), "w") as fastlane_file:
|
||||
fastlane_file.write("".join(description).strip())
|
||||
|
||||
Reference in New Issue
Block a user