httpx/.goreleaser.yml

45 lines
888 B
YAML
Raw Permalink Normal View History

2021-08-07 23:26:41 +03:00
before:
hooks:
- go mod tidy
2020-06-01 22:20:06 +03:00
builds:
2021-08-07 23:26:41 +03:00
- env:
- CGO_ENABLED=0
goos:
- windows
- linux
- darwin
goarch:
- amd64
- 386
- arm
- arm64
ignore:
- goos: darwin
goarch: '386'
- goos: windows
goarch: 'arm'
2021-10-11 02:55:42 +03:00
- goos: windows
goarch: 'arm64'
2021-08-07 23:26:41 +03:00
binary: '{{ .ProjectName }}'
2021-08-09 16:25:43 +03:00
main: cmd/httpx/httpx.go
2021-08-07 23:26:41 +03:00
2020-06-01 22:20:06 +03:00
archives:
2021-08-07 23:26:41 +03:00
- format: zip
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ if eq .Os "darwin" }}macOS{{ else }}{{ .Os }}{{ end }}_{{ .Arch }}'
2021-08-07 23:26:41 +03:00
checksum:
2021-08-09 16:25:43 +03:00
algorithm: sha256
2022-10-27 12:52:01 +03:00
announce:
slack:
enabled: true
channel: '#release'
username: GoReleaser
2023-01-06 16:04:12 +03:00
message_template: 'New Release: {{ .ProjectName }} {{ .Tag }} is published! Check it out at {{ .ReleaseURL }}'
discord:
enabled: true
message_template: '**New Release: {{ .ProjectName }} {{.Tag}}** is published! Check it out at {{ .ReleaseURL }}'