diff options
author | Philipp Hörist <philipp@hoerist.com> | 2023-01-08 22:40:50 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2023-01-18 23:57:24 +0300 |
commit | 510072da587e0e374296267bde38d63e28ed18d4 (patch) | |
tree | bb413719b7f31ea65d226936b2f3ecec3e2453cf /scripts | |
parent | 3e4fee240f88cf7fed7648ea8cd9181daf919359 (diff) |
change: Port package to pyproject.toml
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/bump_version.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/bump_version.py b/scripts/bump_version.py index 54192ce..6c2a442 100755 --- a/scripts/bump_version.py +++ b/scripts/bump_version.py @@ -9,7 +9,6 @@ REPO_DIR = Path(__file__).resolve().parent.parent INIT = REPO_DIR / 'nbxmpp' / '__init__.py' -CFG = REPO_DIR / 'setup.cfg' CHANGELOG = REPO_DIR / 'ChangeLog' VERSION_RX = r'\d+\.\d+\.\d+' @@ -28,10 +27,6 @@ def bump_version(current_version: str, new_version: str) -> None: content = content.replace(current_version, new_version, 1) INIT.write_text(content, encoding='utf8') - content = CFG.read_text(encoding='utf8') - content = content.replace(current_version, new_version, 1) - CFG.write_text(content, encoding='utf8') - def make_changelog(new_version: str) -> None: |