From ff0781264cd2456e6b262f2c6eaa965c52496206 Mon Sep 17 00:00:00 2001 From: Patrick Hamann Date: Fri, 24 Apr 2020 17:52:09 +0100 Subject: [PATCH] Don't wrap release asset in a directory to fix update process. (#41) --- .goreleaser.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 32a7954c6..c79d52956 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -28,7 +28,9 @@ archives: builds: [macos, linux] <<: &archive_defaults name_template: "{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" - wrap_in_directory: true + files: + - none* + wrap_in_directory: false format: tar.gz - id: windows builds: [windows]