what
This commit is contained in:
parent
c2c1a95d8d
commit
257a72205c
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ jobs:
|
||||||
|
|
||||||
echo "Checking https://git.nfp.is/api/v1/repos/${{ gitea.repository }}/releases for name ${CURR_NAME}"
|
echo "Checking https://git.nfp.is/api/v1/repos/${{ gitea.repository }}/releases for name ${CURR_NAME}"
|
||||||
|
|
||||||
curl -s -X GET -H "Authorization: token ${{ secrets.deploytoken }}" https://git.nfp.is/api/v1/repos/${{ gitea.repository }}/releases | grep -o "\"name\"\:\"${CURR_NAME}\"" > /dev/null || { export curlexit="$?"; }
|
curl -s -X GET -H "Authorization: token ${{ secrets.deploytoken }}" https://git.nfp.is/api/v1/repos/${{ gitea.repository }}/releases | grep -o "\"name\"\:\"${CURR_NAME}\"" > /dev/null || { export curlexit="hello world"; }
|
||||||
|
|
||||||
echo "$curlexit"
|
echo "$curlexit"
|
||||||
if [ $curlexit -eq 0 ] ; then
|
if [ $curlexit -eq 0 ] ; then
|
||||||
|
|
Loading…
Reference in a new issue