Fix empty changelog check

This commit is contained in:
Sylvia van Os
2021-10-26 19:20:11 +02:00
parent 46f64d1a61
commit a0884aa81c

View File

@@ -24,7 +24,7 @@ with open('CHANGELOG.md') as changelog:
text.append(re.sub(r'\[(.*?)\]\((.*?)\)', r'\1 (\2)', line))
for version, description in changelogs.items():
if not description:
if not description.strip():
continue
with open(os.path.join("fastlane", "metadata", "android", "en-US", "changelogs", f"{version}.txt"), "w") as fastlane_file: