ffs
This commit is contained in:
parent
2d09ae1f4e
commit
0c3f63fbb8
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue