فهرست منبع

fix: add debug log (#915)

Baptiste Augrain 3 سال پیش
والد
کامیت
b0154c7831
1فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  1. 4 1
      release.sh

+ 4 - 1
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"