revert changes to release script

This commit is contained in:
Carson McManus 2023-06-29 17:59:16 -04:00
parent b30eb050de
commit f7f9c916ba

View file

@ -66,7 +66,7 @@ fi
if [[ $SKIP_CRATE_PUBLISH == true ]]; then if [[ $SKIP_CRATE_PUBLISH == true ]]; then
params+=(--no-publish) params+=(--no-publish)
fi fi
cargo smart-release --update-crates-index --no-changelog --no-publish --no-push "${params[@]}" cargo smart-release --update-crates-index --no-changelog --no-publish "${params[@]}"
#echo "Verify that the publish succeeded, and Press any key to continue..." #echo "Verify that the publish succeeded, and Press any key to continue..."
# read -n 1 -s -r # read -n 1 -s -r
@ -92,10 +92,6 @@ if [[ "v$RAW_VERSION" != "v$TAGGED_VERSION" ]]; then
fi fi
VERSION="v$RAW_VERSION" VERSION="v$RAW_VERSION"
if [[ $DRY_RUN == false ]]; then
git push
fi
if [[ $DRY_RUN == false ]]; then if [[ $DRY_RUN == false ]]; then
if [[ $(gh release list | grep -i "Draft" | grep -i "$VERSION" && echo "true" || echo "false") == "true" ]]; then if [[ $(gh release list | grep -i "Draft" | grep -i "$VERSION" && echo "true" || echo "false") == "true" ]]; then
gh release delete --yes "$VERSION" gh release delete --yes "$VERSION"