goreleaser: archive -> archives, add auto prerelease setting

Signed-off-by: Steve Kriss <krisss@vmware.com>
This commit is contained in:
Steve Kriss
2019-08-07 08:18:40 -06:00
parent 9d9c232729
commit efdb3796ac

View File

@@ -42,8 +42,8 @@ builds:
goarch: ppc64le goarch: ppc64le
ldflags: ldflags:
- -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 }}" - -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: archives:
name_template: "{{ .ProjectName }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}" - name_template: "{{ .ProjectName }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
wrap_in_directory: true wrap_in_directory: true
files: files:
- LICENSE - LICENSE
@@ -55,3 +55,4 @@ release:
owner: heptio owner: heptio
name: velero name: velero
draft: true draft: true
prerelease: auto