fix: create_release.sh

This commit is contained in:
Jack Wills
2024-02-14 14:24:01 +00:00
parent 37c14f86be
commit 19184aebc3
+9 -1
View File
@@ -33,6 +33,14 @@ user_input() {
echo "$data" echo "$data"
} }
# ask continue, or quit
ask_continue() {
ask_yn "continue"
if [[ ! "$(user_input)" =~ ^y$ ]]; then
exit
fi
}
# semver major update # semver major update
update_major() { update_major() {
local bumped_major local bumped_major
@@ -253,7 +261,7 @@ release_flow() {
get_git_remote_url get_git_remote_url
cargo_test cargo_test
cargo_build cargo_build_all
cargo_publish cargo_publish
cd "${CWD}" || error_close "Can't find ${CWD}" cd "${CWD}" || error_close "Can't find ${CWD}"