Skip to content

Commit

Permalink
rust: Add comment to bumb-versions
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhekhorn committed May 22, 2024
1 parent 1742488 commit 0be1e89
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/bump-versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ def main(version):

if __name__ == "__main__":
if len(sys.argv) < 2:
raise ValueError(f"Pass version to {sys.argv[0]}")
raise ValueError(f"Pass a version (e.g. v0.0.0) to {sys.argv[0]}")
# `git describe` starts with a `v` which we need to remove again
main(sys.argv[1][1:])

0 comments on commit 0be1e89

Please sign in to comment.