From 0e4264c36710b72809ba2c39bafffb0efc83341a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C4=8C=C3=A1bera?= Date: Sat, 8 Aug 2020 02:58:25 +0200 Subject: [PATCH] drone: Update to version 1.2.2 --- bucket/drone.json | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/bucket/drone.json b/bucket/drone.json index 26eda9ad94..d876b24fb5 100644 --- a/bucket/drone.json +++ b/bucket/drone.json @@ -1,20 +1,28 @@ { - "homepage": "https://drone.io/", + "version": "1.2.2", "description": "A self-service Continuous Delivery platform for busy development teams.", - "version": "1.2.1", + "homepage": "https://drone.io/", "license": "Apache-2.0", - "url": "https://github.com/drone/drone-cli/releases/download/v1.2.1/drone_windows_amd64.tar.gz", - "hash": "58621ce64bbbb060d4eccccc71061bb9671fef7d1980c74200aae12a669810cb", - "bin": "drone.exe", + "architecture": { + "64bit": { + "url": "https://github.com/drone/drone-cli/releases/download/v1.2.2/drone_windows_amd64.tar.gz", + "hash": "8ae9bb0b07ced2536cc8c8c0e236d1d8ae08b53387e1139a470e2cd37076a3ca" + } + }, "pre_install": "if(Test-Path \"$dir\\drone\") { Rename-Item \"$dir\\drone\" \"$dir\\drone.exe\" }", + "bin": "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", + "architecture": { + "64bit": { + "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)" + "regex": "$sha256\\s+(?:\\./|\\*)?(?:release/$basename)" } } }