diff --git a/_tools/release b/_tools/release index 22fb78f4..b77f7916 100755 --- a/_tools/release +++ b/_tools/release @@ -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 \ No newline at end of file +git push && git push --tags