Skip to content

Commit

Permalink
chiore: update release script (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianthedev authored Oct 10, 2020
1 parent 7c42c83 commit f332e6c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ set -e
NAME=Avo
BUMP=${1:-'patch'}

gem bump $BUMP --no-commit
bundle exec bump $BUMP --tag
VERSION=$(bundle exec rails runner 'puts Avo::VERSION')
bundle install --quiet
git add .
git commit -m "Bump $NAME to $VERSION"
gem tag

git push --follow-tags

0 comments on commit f332e6c

Please sign in to comment.