secrets gotta be weird

This commit is contained in:
Core 2022-08-04 18:18:41 +01:00
parent f104fc27d9
commit ab2e9e5cad
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
#!/bin/bash
# Setup the variables needed
STABLE_SHA=$(curl -H "Authorization: token ${RELEASE_TOKEN}" https://api.github.com/repos/ciderapp/Cider/branches/stable | grep '"sha"' | head -1 | cut -d '"' -f 4)
STABLE_SHA=$(curl -H "Authorization: token ${REQUEST_TOKEN}" https://api.github.com/repos/ciderapp/Cider/branches/stable | grep '"sha"' | head -1 | cut -d '"' -f 4)
SHA_DATE=$(git show -s --format=%ci $STABLE_SHA)
COMMIT_SINCE_STABLE=$(git rev-list $STABLE_SHA..HEAD --count --since="$SHA_DATE")
CURRENT_VERSION=$(node -p -e "require('./package.json').version")