diff options
author | Marc Mueller <30130371+cdce8p@users.noreply.github.com> | 2023-04-25 13:34:36 +0200 |
---|---|---|
committer | Marc Mueller <30130371+cdce8p@users.noreply.github.com> | 2023-04-25 14:00:22 +0200 |
commit | 13e7f693e8e4f93070285f9b5150f9802707a1c0 (patch) | |
tree | 22554e230efc584b2cc455514661a6fd85ba367a | |
parent | f13b247d617de36f44d7e825566f134174723c28 (diff) | |
download | astroid-git-13e7f693e8e4f93070285f9b5150f9802707a1c0.tar.gz |
Modify bump_changelog script
-rw-r--r-- | script/bump_changelog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/bump_changelog.py b/script/bump_changelog.py index bfd73792..a08a1aef 100644 --- a/script/bump_changelog.py +++ b/script/bump_changelog.py @@ -34,7 +34,7 @@ def main() -> None: if args.verbose: logging.basicConfig(level=logging.DEBUG) logging.debug(f"Launching bump_changelog with args: {args}") - if "dev" in args.version: + if any(s in args.version for s in ("dev", "a", "b")): return with open(DEFAULT_CHANGELOG_PATH, encoding="utf-8") as f: content = f.read() |