From 2cef9d26ecbf4a57bb7e877947b561cb541857b8 Mon Sep 17 00:00:00 2001 From: Steve Kriss Date: Tue, 16 Apr 2019 14:27:49 -0600 Subject: [PATCH] wrap contents of release tarball in directory Signed-off-by: Steve Kriss --- .goreleaser.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 9cac80f87..552367e8b 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -42,6 +42,7 @@ builds: - -X "github.com/heptio/velero/pkg/buildinfo.Version={{ .Tag }}" -X "github.com/heptio/velero/pkg/buildinfo.GitSHA={{ .FullCommit }}" -X "github.com/heptio/velero/pkg/buildinfo.GitTreeState={{ .Env.GIT_TREE_STATE }}" archive: name_template: "{{ .ProjectName }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}" + wrap_in_directory: true files: - LICENSE - config/**/*