From dad2d24cf5709f6808658816be50eefc51bb1d09 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 4 Dec 2018 18:41:51 +0100 Subject: [PATCH] docker: fix update check --- srcpkgs/docker/update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/docker/update b/srcpkgs/docker/update index a0c193474d..5b184a51dd 100644 --- a/srcpkgs/docker/update +++ b/srcpkgs/docker/update @@ -1,2 +1,2 @@ -site=https://api.github.com/repos/$pkgname/${pkgname}-ce/releases -pattern='v\K[^"]+(?=-ce")' +site=https://github.com/docker/docker-ce/releases/latest +pattern='href="/docker/docker-ce/releases/tag/v\K[\d\.]+(?=")'