From 6a4e892e1a2c61a1d0c09db6bf92023413b6cd85 Mon Sep 17 00:00:00 2001 From: blissful Date: Fri, 24 Nov 2023 13:30:36 -0500 Subject: [PATCH] fix bump version script to not prepend v to .version file --- bump_version.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bump_version.sh b/bump_version.sh index 9cbf87f..ec22d8d 100755 --- a/bump_version.sh +++ b/bump_version.sh @@ -11,9 +11,9 @@ git diff --exit-code echo "$version" > "$ROSE_ROOT/rose/.version" git add . -git commit -am "[Release] $version - $message" -git tag "$version" HEAD -m "$version" -git push origin "$version" +git commit -am "[Release] v$version - $message" +git tag "$version" HEAD -m "v$version" +git push origin "v$version" git checkout release -git reset --hard "$version" +git reset --hard "v$version" git push --force