Skip to content

Commit

Permalink
fix bump version script to not prepend v to .version file
Browse files Browse the repository at this point in the history
  • Loading branch information
azuline committed Nov 24, 2023
1 parent c6c4d79 commit 6a4e892
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bump_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6a4e892

Please sign in to comment.