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