mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -05:00
Make proper semver in {accept,deferrals}.py
This commit is contained in:
parent
4a46ead7df
commit
8b2223b18e
@ -65,6 +65,7 @@ def accept_xep(number, last_version,
|
|||||||
else:
|
else:
|
||||||
version[1] = str(int(version[1]) + 1)
|
version[1] = str(int(version[1]) + 1)
|
||||||
del version[2:]
|
del version[2:]
|
||||||
|
version.append("0")
|
||||||
|
|
||||||
xep_text = (
|
xep_text = (
|
||||||
xep_text[:revision_match.start()] +
|
xep_text[:revision_match.start()] +
|
||||||
|
@ -49,6 +49,7 @@ def defer_xep(number, last_version, initials):
|
|||||||
else:
|
else:
|
||||||
version[1] = str(int(version[1]) + 1)
|
version[1] = str(int(version[1]) + 1)
|
||||||
del version[2:]
|
del version[2:]
|
||||||
|
version.append("0"")
|
||||||
|
|
||||||
xep_text = (
|
xep_text = (
|
||||||
xep_text[:revision_match.start()] +
|
xep_text[:revision_match.start()] +
|
||||||
|
Loading…
Reference in New Issue
Block a user