mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-24 23:21:34 +00:00
* sapling: fix checkver.regex * sapling has changed versioning schema from `MAJOR.MINOR-%Y%m%d-%H%M%S-HASH` to `MAJOR.MINOR-%Y%m%d-%H%M%S-rHASH`. [360873f](360873f149) Signed-off-by: Ryanjiena <43134606+Ryanjiena@users.noreply.github.com> * sapling: fix checkver.regex * sapling has changed versioning schema from from `MAJOR.MINOR-%Y%m%d-%H%M%S-rHASH` to `MAJOR.MINOR-%Y%m%d-%H%M%S-hHASH`. [388343c](388343cc8b) Signed-off-by: Ryanjiena <43134606+Ryanjiena@users.noreply.github.com> * sapling: Update version to 0.1.20221213.150011.h9b0acf12 Signed-off-by: Ryanjiena <43134606+Ryanjiena@users.noreply.github.com> Signed-off-by: Ryanjiena <43134606+Ryanjiena@users.noreply.github.com>
37 lines
1.6 KiB
JSON
37 lines
1.6 KiB
JSON
{
|
|
"version": "0.1.20221213.150011.h9b0acf12",
|
|
"description": "Sapling SCM is a cross-platform, highly scalable, Git-compatible source control system.",
|
|
"homepage": "https://sapling-scm.com/",
|
|
"license": "GPL-2.0-only",
|
|
"notes": [
|
|
"The name of the Sapling CLI sl.exe conflicts with the sl shell built-in in PowerShell (sl is an alias for Set-Location, which is equivalent to cd).",
|
|
"If you want to use sl to run sl.exe in PowerShell, you must reassign the alias to PowerShell $PROFILE by running:",
|
|
"Add-Content -Path $Profile -Value \"`nSet-Alias -Name sl -Value `\"`$(scoop prefix sapling)\\sl.exe`\" -Force -Option Constant,ReadOnly,AllScope\""
|
|
],
|
|
"suggest": {
|
|
"Node JS": "nodejs-lts",
|
|
"Git": "git"
|
|
},
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/facebook/sapling/releases/download/0.1.20221213-150011-h9b0acf12/sapling_windows_0.1.20221213-150011-h9b0acf12_amd64.zip",
|
|
"hash": "abd5f96244db631e060e8eeed6349f227bfec4f0055d83ea8eae3d44322ca3db"
|
|
}
|
|
},
|
|
"extract_dir": "Sapling",
|
|
"bin": "sl.exe",
|
|
"checkver": {
|
|
"url": "https://api.github.com/repos/facebook/sapling/releases/latest",
|
|
"jsonpath": "$.tag_name",
|
|
"regex": "(?<tag>(?<ver>[\\d.]+)\\.(?<date>[\\d]{8})-(?<time>[\\d]{6})-h(?<hash>[\\da-f]{8}))",
|
|
"replace": "${ver}.${date}.${time}.h${hash}"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/facebook/sapling/releases/download/$matchTag/sapling_windows_$matchTag_amd64.zip"
|
|
}
|
|
}
|
|
}
|
|
}
|