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
params+=(--no-publish)
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..."
# read -n 1 -s -r
@ -92,10 +92,6 @@ if [[ "v$RAW_VERSION" != "v$TAGGED_VERSION" ]]; then
fi
VERSION="v$RAW_VERSION"
if [[ $DRY_RUN == false ]]; then
git push
fi
if [[ $DRY_RUN == false ]]; then
if [[ $(gh release list | grep -i "Draft" | grep -i "$VERSION" && echo "true" || echo "false") == "true" ]]; then
gh release delete --yes "$VERSION"