Skip to content

Commit

Permalink
chore: align templates
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Jul 31, 2022
1 parent bfda8a0 commit eb4adab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .goreleaser-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -40,7 +40,7 @@ checksum:
name_template: "checksums.txt"

snapshot:
name_template: "{{ .Version }}.{{.Timestamp}}"
name_template: "{{ .Version }}.{{ .Timestamp }}"

changelog:
sort: asc
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit eb4adab

Please sign in to comment.