From 7bba93a61aba781910d86f649e9db7ae20033ad2 Mon Sep 17 00:00:00 2001 From: Chris Meller Date: Wed, 27 Oct 2021 14:40:34 +0300 Subject: [PATCH] Add app manifest for the Knative CLI tool. (#2823) * Add app manifest for the Knative CLI tool. * Rename the binary to kn, rather than creating an alias. * Use a Github for checkver. * Specify the bin path and simplify the hash extraction. * Remove an unnecessary find in the autoupdate. --- bucket/knative.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 bucket/knative.json diff --git a/bucket/knative.json b/bucket/knative.json new file mode 100644 index 0000000000..8b7327d4a1 --- /dev/null +++ b/bucket/knative.json @@ -0,0 +1,26 @@ +{ + "homepage": "https://knative.dev", + "license": "Apache-2.0", + "description": "The Knative client kn is your door to the Knative world. It allows you to create Knative resources interactively from the command line or from within scripts.", + "version": "0.26.0", + "architecture": { + "64bit": { + "url": "https://github.com/knative/client/releases/download/v0.26.0/kn-windows-amd64.exe#/kn.exe", + "hash": "b7d1c4cb10234734d81d50fd3cf1423f6ada29563d0f2a863dba3d6a6ae24fa0" + } + }, + "bin": "kn.exe", + "checkver": { + "github": "https://github.com/knative/client" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/knative/client/releases/download/v$version/kn-windows-amd64.exe#/kn.exe", + "hash": { + "url": "https://github.com/knative/client/releases/download/v$version/checksums.txt" + } + } + } + } +}