mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-09-14 15:27:24 -04:00
Accept changelog entry without date (unreleased)
This commit is contained in:
1 parent
2f660c6fec
commit
b4077a2fc3
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user