rustup(-gnu|-msvc): Fix regex patterns checkver field (#6569)

- Updated the rustup `checkver.url` to script link.
- Modified the regex pattern to match rustup version from the installation script.
This commit is contained in:
Feng.YJ 2025-04-16 18:01:48 +08:00 committed by GitHub
parent a5d3ddb630
commit fa5e8ca8e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View File

@ -36,8 +36,8 @@
".rustup"
],
"checkver": {
"url": "https://raw.githubusercontent.com/rust-lang-nursery/rustup.rs/master/Cargo.toml",
"regex": "version = \"([\\d.]+)\""
"url": "https://sh.rustup.rs",
"regex": "rustup-init ([\\d.]+) \\("
},
"autoupdate": {
"architecture": {

View File

@ -43,8 +43,8 @@
".rustup"
],
"checkver": {
"url": "https://raw.githubusercontent.com/rust-lang-nursery/rustup.rs/master/Cargo.toml",
"regex": "version = \"([\\d.]+)\""
"url": "https://sh.rustup.rs",
"regex": "rustup-init ([\\d.]+) \\("
},
"autoupdate": {
"architecture": {

View File

@ -43,8 +43,8 @@
".rustup"
],
"checkver": {
"url": "https://raw.githubusercontent.com/rust-lang-nursery/rustup.rs/master/Cargo.toml",
"regex": "version = \"([\\d.]+)\""
"url": "https://sh.rustup.rs",
"regex": "rustup-init ([\\d.]+) \\("
},
"autoupdate": {
"architecture": {