Skip to content

Commit

Permalink
Update goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
martialblog committed Jul 1, 2024
1 parent 4f8df38 commit 4c8f80c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# See documentation at https://goreleaser.com
version: 2
before:
hooks:
- go mod download
Expand All @@ -22,11 +23,12 @@ release:
name: check_cloud_azure
archives:
- format: binary
replacements:
darwin: Darwin
linux: Linux
windows: Windows
amd64: x86_64
name_template: >-
{{ .ProjectName }}_{{ .Tag }}_
{{- if eq .Os "linux" }}Linux{{ end }}
{{- if eq .Os "windows" }}Windows{{ end }}
{{- if eq .Os "darwin" }}Darwin{{ end }}
{{- if eq .Arch "amd64" }}_x86_64{{ end }}
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit 4c8f80c

Please sign in to comment.