mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
fix: use index for optional env var in version_template
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
This commit is contained in:
parent
eaa09100b9
commit
e49a1dc16e
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ checksum:
|
|||
name_template: 'checksums.txt'
|
||||
|
||||
snapshot:
|
||||
version_template: "{{ if .Env.GORELEASER_CURRENT_TAG }}{{ .Env.GORELEASER_CURRENT_TAG }}{{ else }}{{ incpatch .Version }}-next{{ end }}"
|
||||
version_template: "{{ if index .Env \"GORELEASER_CURRENT_TAG\" }}{{ .Env.GORELEASER_CURRENT_TAG }}{{ else }}{{ incpatch .Version }}-next{{ end }}"
|
||||
|
||||
changelog:
|
||||
sort: asc
|
||||
|
|
|
|||
Loading…
Reference in a new issue