mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
added documentation
This commit is contained in:
parent
281459cac1
commit
9fcf0386c5
3 changed files with 5 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ import sys
|
|||
|
||||
|
||||
def get_version_changelog(version: str):
|
||||
"""Get changelog entry from CHANGELOG.md for given version"""
|
||||
with open('CHANGELOG.md', 'r') as file:
|
||||
content = file.read()
|
||||
pattern = rf"### {version} \(\d\d-\d\d-\d{{4}}\)\n(.*?)(?=### \d+\.\d+\.\d+|\Z)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue