From 80b5f69f6739e13bc67b616d8c1a22b04de8660f Mon Sep 17 00:00:00 2001 From: Aleksandar Stojanov Date: Thu, 2 Nov 2023 18:09:24 +0100 Subject: [PATCH] bump version to 0.1.5 Signed-off-by: Aleksandar Stojanov --- install-binary.sh | 4 ++-- plugin.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/install-binary.sh b/install-binary.sh index 76f1941..b3e968b 100755 --- a/install-binary.sh +++ b/install-binary.sh @@ -71,11 +71,11 @@ getDownloadURL() { # If no version found (because of no git), try fetch from plugin if [ -z "$version" ]; then echo "No version found" - version=$(sed -n -e 's/version:[ "]*\([^"]*\).*/\1/p' plugin.yaml) + version=v$(sed -n -e 's/version:[ "]*\([^"]*\).*/\1/p' plugin.yaml) fi # Setup Download Url - DOWNLOAD_URL="https://github.com/${PROJECT_GH}/releases/download/${version}/${PROJECT_NAME}_${version}_${OS}_${ARCH}.tgz" + DOWNLOAD_URL="https://github.com/${PROJECT_GH}/releases/download/v${version}/${PROJECT_NAME}_${version#v}_${OS}_${ARCH}.tgz" } # downloadFile downloads the latest binary package and also the checksum diff --git a/plugin.yaml b/plugin.yaml index f690f68..24d2c03 100644 --- a/plugin.yaml +++ b/plugin.yaml @@ -1,5 +1,5 @@ name: "schema" -version: "0.1.4" +version: "0.1.5" usage: "generate values.schema.json from values yaml" description: "Helm plugin for generating values.schema.json from multiple values files." ignoreFlags: false