mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-03 19:54:00 +00:00
goreleaser: archive -> archives, add auto prerelease setting
Signed-off-by: Steve Kriss <krisss@vmware.com>
This commit is contained in:
@@ -42,12 +42,12 @@ 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
|
||||||
- examples/**/*
|
- examples/**/*
|
||||||
checksum:
|
checksum:
|
||||||
name_template: 'CHECKSUM'
|
name_template: 'CHECKSUM'
|
||||||
release:
|
release:
|
||||||
@@ -55,3 +55,4 @@ release:
|
|||||||
owner: heptio
|
owner: heptio
|
||||||
name: velero
|
name: velero
|
||||||
draft: true
|
draft: true
|
||||||
|
prerelease: auto
|
||||||
|
|||||||
Reference in New Issue
Block a user