From 92db76b6b571c3e2c2fa38510134a7e344bd7cc5 Mon Sep 17 00:00:00 2001 From: Sean Eagan Date: Thu, 29 Apr 2021 17:09:23 -0500 Subject: [PATCH] Tweak release binaries - Remove version from file names to avoid version redundancy in download URL e.g.: https://github.com/airshipit/airshipctl/releases/download/v2.0.0/airshipctl_2.0.0_linux_amd64.tar.gz - Remove unuseful windows binaries Change-Id: Iaa07faf535829ac0c06e5a907f5af2bf2ce2a2ae Signed-off-by: Sean Eagan --- .goreleaser.yaml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index daf92f283..0d8f3f16a 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -39,17 +39,11 @@ builds: goos: - windows archives: - - name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" + - name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}" id: nix builds: [linux, darwin] format: tar.gz files: - none* - - name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" - id: windows - builds: [windows] - format: zip - files: - - none* release: draft: true \ No newline at end of file