ScoopInstaller_Main/drone.json
2018-03-01 22:00:17 +00:00

20 lines
779 B
JSON

{
"homepage": "https://drone.io/",
"version": "0.8.4",
"license": "Apache License 2.0",
"url": "https://github.com/drone/drone-cli/releases/download/v0.8.4/drone_windows_amd64.tar.gz",
"hash": "10c28d6cbc34b5a5bea6447551e7511b123f7d0f202a40f6882a7739c1f2cd26",
"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)"
}
}
}