Actualiser .gitea/workflows/check-release.yaml
All checks were successful
Check Calibre-web version / check-version (push) Successful in 22s
All checks were successful
Check Calibre-web version / check-version (push) Successful in 22s
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user