Skip to content

Commit

Permalink
Merge pull request #32 from NETWAYS/chore/fix-goreleaser
Browse files Browse the repository at this point in the history
Update goreleaser config to work with v1.19.0
  • Loading branch information
martialblog authored Jul 7, 2023
2 parents 25bfdf5 + 591d7d4 commit c58ea0d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@ builds:
-X main.commit={{.Commit}}
-X main.date={{.CommitDate}}
release:
draft: true
github:
owner: NETWAYS
name: check_elasticsearch
archives:
- format: binary
replacements:
darwin: Darwin
linux: Linux
windows: Windows
amd64: x86_64
name_template: >-
{{- if eq .Arch "amd64" }}x86_64{{ end }}
{{- if eq .Os "linux" }}Linux{{ end }}
{{- if eq .Os "windows" }}Windows{{ end }}
{{- if eq .Os "darwin" }}Darwin{{ end }}
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit c58ea0d

Please sign in to comment.