diff --git a/resources/version.sh b/resources/version.sh index 1a1a0d3b..0fe78de2 100755 --- a/resources/version.sh +++ b/resources/version.sh @@ -4,7 +4,7 @@ if [[ $GITHUB_REF_NAME == "main" ]]; then STABLE_SHA=$(curl -H "Authorization: token ${GH_REQUEST_TOKEN}" https://api.github.com/repos/ciderapp/Cider/branches/stable | grep '"sha"' | head -1 | cut -d '"' -f 4) else - STABLE_SHA=$(curl -H "Authorization: token ${GITHUB_TOKEN}" https://api.github.com/repos/ciderapp/Cider/branches/main | grep '"sha"' | head -1 | cut -d '"' -f 4) + STABLE_SHA=$(curl -s https://api.github.com/repos/ciderapp/Cider/branches/main | grep '"sha"' | head -1 | cut -d '"' -f 4) fi SHA_DATE=$(git show -s --format=%ci $STABLE_SHA)