Skip to content

Commit

Permalink
fix removing deploy too early
Browse files Browse the repository at this point in the history
  • Loading branch information
programminghoch10 committed Aug 26, 2023
1 parent 7ad9119 commit 4a1c980
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ echo "$FILE_MODULE_PROP" > deploy/module.prop
git push -q
) || exit 1

./update.sh removeDeploy

GITHUB_OWNER="programminghoch10"
GITHUB_REPO="MagicalProtection"

Expand Down Expand Up @@ -88,6 +86,8 @@ CREATE_RELEASE_RESPONSE=$(curl \
}"
)

./update.sh removeDeploy

RELEASE_ID=$(jq --raw-output .id <<< "$CREATE_RELEASE_RESPONSE")
[ -z "$RELEASE_ID" ] && echo "failed to acquire created release id" && exit 1

Expand Down

0 comments on commit 4a1c980

Please sign in to comment.