ScoopInstaller_Main/drone.json
2018-02-20 17:00:28 +00:00

20 lines
779 B
JSON

{
"homepage": "https://drone.io/",
"version": "0.8.3",
"license": "Apache License 2.0",
"url": "https://github.com/drone/drone-cli/releases/download/v0.8.3/drone_windows_amd64.tar.gz",
"hash": "b7e0b8387aa3864e1455815d793a19545e38e8aa7f9a46f6f08edd6f9d6ef44e",
"bin": "drone.exe",
"pre_install": "if(Test-Path \"$dir\\drone\") { Rename-Item \"$dir\\drone\" \"$dir\\drone.exe\" }",
"checkver": {
"github": "https://github.com/drone/drone-cli"
},
"autoupdate": {
"url": "https://github.com/drone/drone-cli/releases/download/v$version/drone_windows_amd64.tar.gz",
"hash": {
"url": "$baseurl/drone_checksums.txt",
"find": "([a-fA-F0-9]+)\\s+(?:\\./|\\*)?(?:release/$basename)"
}
}
}