Bot Updating Templated Files

This commit is contained in:
LinuxServer-CI
2021-04-16 06:15:21 -04:00
parent a0d9de177a
commit a8cee25acc
5 changed files with 38 additions and 33 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
fi
echo "**** External trigger running off of unstable branch. To disable this trigger, set a Github secret named \"PAUSE_EXTERNAL_TRIGGER_SABNZBD_UNSTABLE\". ****"
echo "**** Retrieving external version ****"
EXT_RELEASE=$(curl -s https://api.github.com/repos/sabnzbd/sabnzbd/releases | jq -r 'first(.[]) | .tag_name')
EXT_RELEASE=$(curl -u ${{ secrets.CR_USER }}:${{ secrets.CR_PAT }} -s https://api.github.com/repos/sabnzbd/sabnzbd/releases | jq -r 'first(.[]) | .tag_name')
if [ -z "${EXT_RELEASE}" ] || [ "${EXT_RELEASE}" == "null" ]; then
echo "**** Can't retrieve external version, exiting ****"
FAILURE_REASON="Can't retrieve external version for sabnzbd branch unstable"