From 3cb08695974feaa5db7ed57717dc815e77a876d1 Mon Sep 17 00:00:00 2001 From: Carson McManus Date: Thu, 29 Jun 2023 17:51:10 -0400 Subject: [PATCH] adjust release script --- scripts/full-release.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/full-release.sh b/scripts/full-release.sh index 8699bbc..19f66be 100755 --- a/scripts/full-release.sh +++ b/scripts/full-release.sh @@ -92,6 +92,10 @@ 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"