From eb4adabe380c9d1e0b2dc44b2ef68138827e45c6 Mon Sep 17 00:00:00 2001 From: andig Date: Sun, 31 Jul 2022 17:26:41 +0200 Subject: [PATCH] chore: align templates --- .goreleaser-nightly.yml | 8 ++++---- .goreleaser.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.goreleaser-nightly.yml b/.goreleaser-nightly.yml index c5a2c2f742..1287d32fc9 100644 --- a/.goreleaser-nightly.yml +++ b/.goreleaser-nightly.yml @@ -8,7 +8,7 @@ builds: flags: - -tags=release ldflags: - - -X github.com/evcc-io/evcc/server.Version={{.Tag}} -X github.com/evcc-io/evcc/server.Commit={{.ShortCommit}} -s -w + - -X github.com/evcc-io/evcc/server.Version={{ .Tag }} -X github.com/evcc-io/evcc/server.Commit={{ .ShortCommit }} -s -w env: - CGO_ENABLED=0 goos: @@ -31,7 +31,7 @@ archives: format: zip files: - evcc.dist.yaml - name_template: "{{.ProjectName}}_{{ .Version }}_{{.Os}}-{{.Arch}}{{ if .Arm }}hf{{ end }}" + name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}-{{ .Arch }}{{ if .Arm }}hf{{ end }}" universal_binaries: - replace: true @@ -40,7 +40,7 @@ checksum: name_template: "checksums.txt" snapshot: - name_template: "{{ .Version }}.{{.Timestamp}}" + name_template: "{{ .Version }}.{{ .Timestamp }}" changelog: sort: asc @@ -54,7 +54,7 @@ changelog: nfpms: - id: default package_name: evcc - file_name_template: "{{.ProjectName}}_{{ .Version }}_{{.Os}}-{{.Arch}}{{ if .Arm }}hf{{ end }}" + file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}-{{ .Arch }}{{ if .Arm }}hf{{ end }}" homepage: https://evcc.io description: EV Charge Controller diff --git a/.goreleaser.yml b/.goreleaser.yml index b18c430860..baa4cdef69 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -10,7 +10,7 @@ builds: flags: - -tags=release ldflags: - - -X github.com/evcc-io/evcc/server.Version={{.Version}} -s -w + - -X github.com/evcc-io/evcc/server.Version={{ .Version }} -s -w env: - CGO_ENABLED=0 goos: