(experiment) don't print GH response

This commit is contained in:
Peter Squicciarini 2020-09-18 17:11:53 -07:00
parent a8d355c276
commit bfe2693d76
No known key found for this signature in database
GPG Key ID: 08B897BCAB6763CB

View File

@ -8,9 +8,7 @@ else
REPOSITORY=${TRAVIS_REPO_SLUG:-"VSCodium/vscodium"} REPOSITORY=${TRAVIS_REPO_SLUG:-"VSCodium/vscodium"}
fi fi
GITHUB_RESPONSE=$(curl -s -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/repos/$REPOSITORY/releases/tags/$LATEST_MS_TAG) 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') VSCODIUM_ASSETS=$(echo $GITHUB_RESPONSE | jq '.assets')
echo "VSCodium assets: ${VSCODIUM_ASSETS}"
# if we just don't have the github token, get out fast # if we just don't have the github token, get out fast
if [ "$GITHUB_TOKEN" != "" ]; then if [ "$GITHUB_TOKEN" != "" ]; then