Skip to content

Commit

Permalink
Specify version package when gobump
Browse files Browse the repository at this point in the history
  • Loading branch information
yuuki committed Nov 10, 2019
1 parent 8f856fb commit f33e33b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _tools/release
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ if [[ $(git status -s) != "" ]]; then
exit 1
fi

current_version=$(gobump show -r)
current_version=$(gobump show -r version)

echo "current version: $current_version"
read -p "input next version: " next_version

echo "--> Bumping version $next_version"
gobump set "$next_version" -w
gobump set "$next_version" -w version
echo "--> Generating CHANGELOG"
ghch -w -N "v$next_version"

git commit -am "Bump version $next_version"
git tag "v$next_version"
git push && git push --tags
git push && git push --tags

0 comments on commit f33e33b

Please sign in to comment.