From 0be1e89edf163ad1a6259a4aa3cd5e661488a1e9 Mon Sep 17 00:00:00 2001 From: Felix Hekhorn Date: Wed, 22 May 2024 15:28:11 +0300 Subject: [PATCH] rust: Add comment to bumb-versions --- crates/bump-versions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/bump-versions.py b/crates/bump-versions.py index c87efa419..6b7220f7e 100644 --- a/crates/bump-versions.py +++ b/crates/bump-versions.py @@ -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:])