mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-03 23:31:20 +00:00 
			
		
		
		
	* swctl: Add version 0.9.0 * Apply suggestions from code review * Update and rename swctl.json to skywalking-cli.json Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com>
		
			
				
	
	
		
			28 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "version": "0.10.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.10.0/skywalking-cli-0.10.0-bin.tgz",
 | 
						|
    "hash": "sha512:4247e38dbf8ca3ec25a74c468ef1c93150c15f4c244f85e80923fbe9c6282544dd14bfe9c933955c9bef344c0636bcce9d2be73699c39ede009760f3cc06aa0c",
 | 
						|
    "extract_dir": "skywalking-cli-0.10.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"
 | 
						|
    }
 | 
						|
}
 |