From f5acbdcf6f92e3d802390cdf56fba5acd72057a6 Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Date: Sat, 14 Aug 2021 00:10:12 +0530 Subject: [PATCH] Flatten binary release archives (#80) Signed-off-by: Harsh Vardhan --- .goreleaser.yml | 2 +- scripts/install-latest.sh | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 165dafb4..e11bdc38 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -26,7 +26,7 @@ archives: - goos: 'windows' format: 'zip' - wrap_in_directory: true + wrap_in_directory: false files: - README.md - LICENSE diff --git a/scripts/install-latest.sh b/scripts/install-latest.sh index 10520449..af3c93a3 100644 --- a/scripts/install-latest.sh +++ b/scripts/install-latest.sh @@ -63,8 +63,6 @@ tar -xvf openebsctl.tar.gz echo -e "\n\nExtracted Latest Release ----->" -cd "kubectl-openebs_""$LATEST_TAG""_"$UNAME"_""$XC_ARCH" - sudo cp kubectl-openebs /usr/local/bin echo -e "\n\nCopied Latest Release to usr/local/bin ----->"