Skip to content

Commit

Permalink
Merge branch 'morosi-version' into 'master'
Browse files Browse the repository at this point in the history
Fix unexpected tag error message

See merge request it/e3-aws!29
  • Loading branch information
adanaja committed Dec 9, 2024
2 parents 3b81ff2 + e45a5a2 commit 9939c5e
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions build_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,11 @@ def main() -> None:
tagged_version_patch,
):
logger.error(
(
"Found tag v{major}.{minor}.{patch} but was expecting "
"v{major}.{minor}.0. Please manually create the tag if not done yet "
"or make sure this is the most recent tag"
).format(
major=tagged_version_major,
minor=tagged_version_minor,
patch=tagged_version_patch,
)
"Found tag "
f"v{tagged_version_major}.{tagged_version_minor}.{tagged_version_patch} "
f"but was expecting v{version_major}.{version_minor}.0. "
"Please manually create the tag if not done yet or make sure this "
"is the most recent tag"
)
sys.exit(1)

Expand Down

0 comments on commit 9939c5e

Please sign in to comment.