From b4077a2fc34f0433abc252e241f9a2d993d4f810 Mon Sep 17 00:00:00 2001 From: Sylvia van Os Date: Tue, 14 Sep 2021 19:17:26 +0200 Subject: [PATCH] Accept changelog entry without date (unreleased) --- .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 ebe6c921f..520f1e679 100644 --- a/.scripts/changelog_to_fastlane.py +++ b/.scripts/changelog_to_fastlane.py @@ -15,7 +15,7 @@ with open('CHANGELOG.md') as changelog: changelogs[version_code] = text text = [] - match = re.match("## \S* - (\d*) \(\d{4}-\d{2}-\d{2}\)", line) + match = re.match("## \S* - (\d*).*", line) if not match: raise ValueError(f"Invalid version line: {line}") version_code = match.group(1)