Skip to content

Commit

Permalink
fix: Bump the number of versions bumps expected to 27 (#2549)
Browse files Browse the repository at this point in the history
Signed-off-by: Achal Shah <achals@gmail.com>
  • Loading branch information
achals authored Apr 14, 2022
1 parent da1ddab commit ecc9938
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion infra/scripts/release/bump_file_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import sys

USAGE = f"Usage: python {sys.argv[0]} [--help] | current_semver_version new_semver_version]"
VERSIONS_TO_BUMP = 26
VERSIONS_TO_BUMP = 27


def main() -> None:
Expand Down Expand Up @@ -57,6 +57,8 @@ def main() -> None:
current_version = current_version_patch
found = True
break
else:
print(f"Found {versions_in_files} occurrences of {current_version_patch}, instead of {VERSIONS_TO_BUMP}")
if not found:
raise SystemExit(f"Could not find {VERSIONS_TO_BUMP} versions of {current_version} in {path_to_file_list}")

Expand Down

0 comments on commit ecc9938

Please sign in to comment.