소스 검색

changed hardcoded owner

Muhammet Şükrü Demir 3 년 전
부모
커밋
50197bbeef
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      release.sh

+ 2 - 2
release.sh

@@ -30,7 +30,7 @@ do
     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"
+        github-release delete --owner "${GITHUB_REPOSITORY_OWNER}" --repo vscodium --tag "${MS_TAG}" "${FILE}" "${FILE}.sha1" "${FILE}.sha256"
 
         sleep $(( 15 * (i + 1)))
 
@@ -49,7 +49,7 @@ do
       if (( $EXIT_STATUS )); then
         echo "'${FILE}' hasn't been uploaded!"
 
-        github-release delete --owner VSCodium --repo vscodium --tag "${MS_TAG}" "${FILE}" "${FILE}.sha1" "${FILE}.sha256"
+        github-release delete --owner "${GITHUB_REPOSITORY_OWNER}" --repo vscodium --tag "${MS_TAG}" "${FILE}" "${FILE}.sha1" "${FILE}.sha256"
 
         exit 1
       fi