From 2b0ab41ff6bffc4bc66c74fc08b0a892b9b0bbdd Mon Sep 17 00:00:00 2001 From: ArthurHlt Date: Tue, 1 Sep 2020 10:05:51 +0200 Subject: [PATCH] fix release template --- .goreleaser.yml | 2 +- bin/install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 2188e5c01..f13d383f9 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -24,7 +24,7 @@ builds: - '386' - arm - arm64 - binary: 'terraform-provider-cloudfoundry_{{ .Version }}' + binary: 'terraform-provider-cloudfoundry_v{{ .Version }}' archives: - format: zip id: zip-archive-provider diff --git a/bin/install.sh b/bin/install.sh index f69cd4c67..cd5f791fe 100755 --- a/bin/install.sh +++ b/bin/install.sh @@ -48,7 +48,7 @@ fi if [[ "$CPUINFO" == "arm"* ]]; then ARCH="arm" fi -FILENAME="${NAME}_${VERSION:1}_${OS}_${ARCH}" +FILENAME="${NAME}_${VERSION}_${OS}_${ARCH}" if [[ "$OS" == "windows" ]]; then FILENAME="${FILENAME}.exe" fi