ScoopInstaller_Main/bucket/skywalking-cli.json
2022-09-20 08:31:43 +00:00

28 lines
1.2 KiB
JSON

{
"version": "0.11.0",
"description": "SkyWalking CLI is a command interaction tool for the SkyWalking user or OPS team",
"homepage": "https://skywalking.apache.org/",
"license": "Apache-2.0",
"url": "https://downloads.apache.org/skywalking/cli/0.11.0/skywalking-cli-0.11.0-bin.tgz",
"hash": "sha512:804e3e0d3254db48e9a098232baf7fc386eba2fc22d214a321533bd9400fa21e39d3ef762f627d55aa10379c85c4c5f4b363d79218642f1627db363fcd997885",
"extract_dir": "skywalking-cli-0.11.0-bin",
"bin": "bin\\swctl.exe",
"pre_install": [
"$bin_name = if ($architecture -eq '64bit') {'amd64'} else {'386'}",
"Rename-Item \"$dir\\bin\\swctl-$version-windows-$bin_name\" \"swctl.exe\"",
"Remove-Item \"$dir\\bin\\swctl-*\"",
"Get-ChildItem -Path \"$dir\" \"._*\" -Recurse | Remove-Item"
],
"checkver": {
"url": "https://downloads.apache.org/skywalking/cli/",
"regex": "(?sm)<a\\s+href\\=\\\"(?:[\\d.]+)\\/\\\">\\s*([\\d.]+)\\/?<\\/a>"
},
"autoupdate": {
"url": "https://downloads.apache.org/skywalking/cli/$version/skywalking-cli-$version-bin.tgz",
"hash": {
"url": "$url.sha512"
},
"extract_dir": "skywalking-cli-$version-bin"
}
}