-
Notifications
You must be signed in to change notification settings - Fork 8
/
.goreleaser.yml
33 lines (33 loc) · 1.11 KB
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
project_name: connectconformance
builds:
- id: connectconformance
binary: connectconformance
main: ./cmd/connectconformance
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
ldflags:
- -s -w -X connectrpc.com/conformance/internal.buildVersion=v{{.Version}}
archives:
- format: tar.gz
format_overrides:
- goos: windows
format: zip
rlcp: true
# Follows same naming conventions as release artifacts for bufbuild/buf
name_template: 'connectconformance-{{ .Tag }}-{{ title .Os }}-{{ if and (eq .Os "linux") (eq .Arch "arm64")}}aarch64{{ else if eq .Arch "amd64" }}x86_64{{ else }}{{ .Arch }}{{ end }}'
files:
- LICENSE
release:
github:
owner: connectrpc
name: conformance
# Don't overwrite release notes. The process is to create the release manually in
# the GitHub UI, curating the release notes by editing the auto-generated notes.
# A GitHub action will then act when the tag is created and run goreleaser to
# generate the release artifacts and upload them and attach them to the release.
mode: keep-existing