mirror of
https://github.com/miaowware/qrm2.git
synced 2025-07-30 20:02:26 -04:00
add yanked v1.0.0, update parser to handle yanked versions
This commit is contained in:
parent
afa2054323
commit
7416596ac3
@ -31,5 +31,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
- Cleaned up code to comply with the PEP8 Standard
|
- Cleaned up code to comply with the PEP8 Standard
|
||||||
- Issue in morse and unmorse commands where spaces were not interpreted correctly
|
- Issue in morse and unmorse commands where spaces were not interpreted correctly
|
||||||
|
|
||||||
|
## v1.0.0 - 2019-07-31 [YANKED]
|
||||||
|
|
||||||
[Unreleased]: https://github.com/classabbyamp/discord-qrm2/compare/v2.0.0...HEAD
|
[Unreleased]: https://github.com/classabbyamp/discord-qrm2/compare/v2.0.0...HEAD
|
||||||
[v2.0.0]: https://github.com/classabbyamp/discord-qrm2/releases/tag/v2.0.0
|
[v2.0.0]: https://github.com/classabbyamp/discord-qrm2/releases/tag/v2.0.0
|
||||||
|
@ -175,10 +175,11 @@ def parse_changelog():
|
|||||||
continue
|
continue
|
||||||
if re.match(r'##[^#]', line):
|
if re.match(r'##[^#]', line):
|
||||||
ver_match = re.match(r'\[(.+)\](?: - )?(\d{4}-\d{2}-\d{2})?', line.lstrip('#').strip())
|
ver_match = re.match(r'\[(.+)\](?: - )?(\d{4}-\d{2}-\d{2})?', line.lstrip('#').strip())
|
||||||
ver = ver_match.group(1)
|
if ver_match is not None:
|
||||||
changelog[ver] = dict()
|
ver = ver_match.group(1)
|
||||||
if ver_match.group(2):
|
changelog[ver] = dict()
|
||||||
changelog[ver]['date'] = ver_match.group(2)
|
if ver_match.group(2):
|
||||||
|
changelog[ver]['date'] = ver_match.group(2)
|
||||||
elif re.match(r'###[^#]', line):
|
elif re.match(r'###[^#]', line):
|
||||||
heading = line.lstrip('#').strip()
|
heading = line.lstrip('#').strip()
|
||||||
changelog[ver][heading] = []
|
changelog[ver][heading] = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user