Skip to content

Commit c0fc7ae

Browse files
committed
ci: fix update_versions.py invocation (remove extra 'bump' arg)
1 parent 315d441 commit c0fc7ae

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/update_versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def do_prerelease(package: str, prerelease_type: str) -> None:
9898
update_api_protocol_dependency(new)
9999

100100

101-
@click.command("bump")
101+
@click.command()
102102
@click.option(
103103
"--package",
104104
type=click.Choice(list(PACKAGES.keys())),

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,18 +89,18 @@ jobs:
8989
9090
case "$key" in
9191
patch|minor|major)
92-
python .github/update_versions.py bump --package "$pkg" --bump-type "$key"
92+
python .github/update_versions.py --package "$pkg" --bump-type "$key"
9393
;;
9494
patch-rc|minor-rc|major-rc)
9595
bump="${key%-rc}"
96-
python .github/update_versions.py bump --package "$pkg" --bump-type "$bump"
97-
python .github/update_versions.py bump --package "$pkg" --pre rc
96+
python .github/update_versions.py --package "$pkg" --bump-type "$bump"
97+
python .github/update_versions.py --package "$pkg" --pre rc
9898
;;
9999
next-rc)
100-
python .github/update_versions.py bump --package "$pkg" --pre rc
100+
python .github/update_versions.py --package "$pkg" --pre rc
101101
;;
102102
promote)
103-
python .github/update_versions.py bump --package "$pkg" --bump-type release
103+
python .github/update_versions.py --package "$pkg" --bump-type release
104104
;;
105105
esac
106106

0 commit comments

Comments
 (0)