From b0154c7831e081093390bd727c9d8ef4bf0f02c2 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Wed, 10 Nov 2021 11:52:44 +0100 Subject: [PATCH] fix: add debug log (#915) --- release.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/release.sh b/release.sh index 952866ee412..6e1c4af09d6 100755 --- a/release.sh +++ b/release.sh @@ -24,7 +24,10 @@ do echo "Uploading '${FILE}' at $( date "+%T" )" gh release upload "${MS_TAG}" "${FILE}" "${FILE}.sha1" "${FILE}.sha256" - if ! (( $? )); then + EXIT_STATUS=$? + echo "exit: $EXIT_STATUS" + + if ! (( $EXIT_STATUS )); then for (( i=0; i<10; i++ )) do github-release delete --owner VSCodium --repo vscodium --tag "${MS_TAG}" "${FILE}" "${FILE}.sha1" "${FILE}.sha256"