composer: fix checkver (#1690)

improved checkversion following the discussion here: 71d7c43985 to ensure the check always get's the latest version and non the latest release on github.
This commit is contained in:
nixxo 2020-12-20 02:50:18 +01:00 committed by GitHub
parent c894fb99e5
commit f0e76612e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,8 @@
]
},
"checkver": {
"github": "https://github.com/composer/composer"
"url": "https://getcomposer.org/",
"regex": "Latest: <strong>\\s*([\\d.]+)\\s*</strong>"
},
"autoupdate": {
"url": "https://getcomposer.org/download/$version/composer.phar",