diff --git a/.goreleaser.yml b/.goreleaser.yml index 09f378d9bd..cad52afc80 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -64,16 +64,13 @@ nfpms: type: "symlink" archives: - - name_template: "{{.ProjectName}}-{{.Tag}}-{{.Os}}-{{.Arch}}{{if .Arm}}{{.Arm}}{{end}}" - wrap_in_directory: true - format: zip - files: - - README.md - - LICENSE - name_template: "{{.ProjectName}}-{{.Tag}}-{{.Os}}-{{.Arch}}{{if .Arm}}{{.Arm}}{{end}}" id: targz-archives wrap_in_directory: true format: tar.gz + format_overrides: + - goos: windows + format: zip files: - README.md - LICENSE