From 8a572063046ca1719178fb4d189cea3df3fb0ba7 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 24 Apr 2024 17:37:05 +0900 Subject: [PATCH] [goreleaser] fix indentation for name_template (#109) --- .goreleaser.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 9a99fcb..2b5ace5 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -16,13 +16,13 @@ builds: - darwin archives: - name_template: >- - {{- .ProjectName }}_ - {{- .Version }}_ - {{- title .Os }}_ - {{- if eq .Arch "amd64" }}x86_64 - {{- else if eq .Arch "386" }}i386 - {{- else }}{{ .Arch }}{{ end }} - {{- if .Arm }}v{{ .Arm }}{{ end -}} + {{- .ProjectName }}_ + {{- .Version }}_ + {{- title .Os }}_ + {{- if eq .Arch "amd64" }}x86_64 + {{- else if eq .Arch "386" }}i386 + {{- else }}{{ .Arch }}{{ end }} + {{- if .Arm }}v{{ .Arm }}{{ end -}} checksum: name_template: 'checksums.txt' snapshot: