From 8231682e57b2a1f5b25741bc34a14d8029f05a84 Mon Sep 17 00:00:00 2001 From: Richard Kuhnt Date: Tue, 5 Sep 2017 14:25:04 +0200 Subject: [PATCH] Add drone version 0.7.0 --- drone.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 drone.json diff --git a/drone.json b/drone.json new file mode 100644 index 0000000000..1443533625 --- /dev/null +++ b/drone.json @@ -0,0 +1,19 @@ +{ + "homepage": "https://drone.io/", + "version": "0.7.0", + "license": "Apache License 2.0", + "url": "https://github.com/drone/drone-cli/releases/download/v0.7.0/drone_windows_amd64.tar.gz", + "hash": "9697342cfa69fda5f0612c840d88e1e523e782550633f696853d588407abac60", + "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)" + } + } +}