Skip to content

Commit

Permalink
add bump version script
Browse files Browse the repository at this point in the history
  • Loading branch information
azuline committed Nov 20, 2023
1 parent dbce3b5 commit 8e68b19
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions bump_version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash

version="$1"

# Fail if the branch is dirty.
git diff --exit-code

echo "$version" > "$ROSE_ROOT/rose/.version"
git add .
git
git tag "$version" HEAD
git push origin "$version"
git checkout release
git reset --hard "$version"
git push --force

0 comments on commit 8e68b19

Please sign in to comment.