From f332e6c32e7fd44d48687747202c7f6fbf17199d Mon Sep 17 00:00:00 2001 From: Adrian Marin Date: Sat, 10 Oct 2020 13:03:25 +0300 Subject: [PATCH] chiore: update release script (#149) --- scripts/release.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/release.sh b/scripts/release.sh index d6fb7240dd..320f3dd0af 100644 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -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