Skip to content

Commit

Permalink
Fix regex patterns checkver field for rustup
Browse files Browse the repository at this point in the history
- Updated the rustup `checkver.url` to script link.
- Modified the regex pattern to match rustup version from the installation script.
  • Loading branch information
huiyifyj committed Feb 22, 2025
1 parent ecdde55 commit 9cdea1b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions bucket/rustup-gnu.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,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": {
Expand Down
4 changes: 2 additions & 2 deletions bucket/rustup-msvc.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,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": {
Expand Down
4 changes: 2 additions & 2 deletions bucket/rustup.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 9cdea1b

Please sign in to comment.