diff --git a/check_tags.sh b/check_tags.sh index e7fe6e4..c273848 100755 --- a/check_tags.sh +++ b/check_tags.sh @@ -1,6 +1,7 @@ #!/bin/bash -GITHUB_RESPONSE=$(curl -s -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/repos/VSCodium/vscodium/releases/tags/$LATEST_MS_TAG) +REPOSITORY=${TRAVIS_REPO_SLUG:-"VSCodium/vscodium"} +GITHUB_RESPONSE=$(curl -s -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/repos/$REPOSITORY/releases/tags/$LATEST_MS_TAG) echo "Github response: ${GITHUB_RESPONSE}" VSCODIUM_ASSETS=$(echo $GITHUB_RESPONSE | jq '.assets') echo "VSCodium assets: ${VSCODIUM_ASSETS}"