From f0e76612e3bf3b20b2f02d271f0a1aa415a5f410 Mon Sep 17 00:00:00 2001 From: nixxo Date: Sun, 20 Dec 2020 02:50:18 +0100 Subject: [PATCH] composer: fix checkver (#1690) improved checkversion following the discussion here: https://github.com/ScoopInstaller/Main/commit/71d7c4398527d1aad1aa240c2974ee1275036f8e to ensure the check always get's the latest version and non the latest release on github. --- bucket/composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bucket/composer.json b/bucket/composer.json index 86494c7d5e..44972b757e 100644 --- a/bucket/composer.json +++ b/bucket/composer.json @@ -29,7 +29,8 @@ ] }, "checkver": { - "github": "https://github.com/composer/composer" + "url": "https://getcomposer.org/", + "regex": "Latest: \\s*([\\d.]+)\\s*" }, "autoupdate": { "url": "https://getcomposer.org/download/$version/composer.phar",