Actualiser .gitea/workflows/check-release.yaml
All checks were successful
Check Calibre-web version / check-version (push) Successful in 22s

This commit is contained in:
2025-04-05 21:20:45 +02:00
parent 56b0b1abd0
commit 6c02ba42e9

View File

@@ -19,10 +19,8 @@ jobs:
mkdir -p /tmp mkdir -p /tmp
curl -s https://api.github.com/repos/janeczku/calibre-web/releases/latest \ curl -s https://api.github.com/repos/janeczku/calibre-web/releases/latest \
| jq -r .tag_name > /tmp/calibre_web_latest.txt | jq -r .tag_name > /tmp/calibre_web_latest.txt
if diff calibre_web_latest.txt /tmp/calibre_web_latest.txt ; then diff calibre_web_latest.txt /tmp/calibre_web_latest.txt \
mv /tmp/calibre_web_latest.txt calibre_web_latest.txt || mv /tmp/calibre_web_latest.txt calibre_web_latest.txt
fi
shell: bash shell: bash
- name: Check if version changed - name: Check if version changed