From a0884aa81c5859f77d51df479a3748367ef4abca Mon Sep 17 00:00:00 2001 From: Sylvia van Os Date: Tue, 26 Oct 2021 19:20:11 +0200 Subject: [PATCH] Fix empty changelog check --- .scripts/changelog_to_fastlane.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scripts/changelog_to_fastlane.py b/.scripts/changelog_to_fastlane.py index 2c97e300a..683ded3e3 100644 --- a/.scripts/changelog_to_fastlane.py +++ b/.scripts/changelog_to_fastlane.py @@ -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: