ScoopInstaller_Main/drone.json
2019-04-11 03:01:18 +00:00

20 lines
771 B
JSON

{
"homepage": "https://drone.io/",
"version": "1.0.8",
"license": "Apache-2.0",
"url": "https://github.com/drone/drone-cli/releases/download/v1.0.8/drone_windows_amd64.tar.gz",
"hash": "79a3e7250bf48697b49109d2e67aa3b319d25f0a29f103d7cd47716b1a0085ff",
"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)"
}
}
}