Update catalog api url

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-12-02 01:24:04 +01:00
parent f369fd12d0
commit 060a8e25ac
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -9,7 +9,7 @@ git reset --hard origin/master
### ---- ### ### ---- ###
version=$(curl -s "https://lv.luzifer.io/catalog-api/wordpress/latest.txt?p=version") version=$(curl -s "https://lv.luzifer.io/v1/catalog/wordpress/latest/version")
grep -q "WP_VERSION=${version} " Dockerfile && exit 0 || echo "Update required" grep -q "WP_VERSION=${version} " Dockerfile && exit 0 || echo "Update required"
wphash=$(curl -sSfL "https://github.com/WordPress/WordPress/archive/${version}.tar.gz" | sha256sum | cut -d ' ' -f 1) wphash=$(curl -sSfL "https://github.com/WordPress/WordPress/archive/${version}.tar.gz" | sha256sum | cut -d ' ' -f 1)