mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-10 02:31:21 +00:00
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:
parent
c894fb99e5
commit
f0e76612e3
@ -29,7 +29,8 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"github": "https://github.com/composer/composer"
|
"url": "https://getcomposer.org/",
|
||||||
|
"regex": "Latest: <strong>\\s*([\\d.]+)\\s*</strong>"
|
||||||
},
|
},
|
||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
"url": "https://getcomposer.org/download/$version/composer.phar",
|
"url": "https://getcomposer.org/download/$version/composer.phar",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user