forked from openshift/backplane-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
43 lines (37 loc) · 849 Bytes
/
.goreleaser.yaml
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
34
35
36
37
38
39
40
41
42
43
project_name: ocm-backplane
before:
hooks:
- go mod tidy
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
- "GO111MODULE=on"
- "GOFLAGS=-mod=readonly -trimpath"
goos:
- linux
- darwin
goarch:
- amd64
- arm64
ldflags:
# The "-X" go flag sets the Version
- -X github.com/openshift/backplane-cli/pkg/info.Version={{.Version}}
main: ./cmd/ocm-backplane/
binary: ocm-backplane
archives:
- name_template: '{{ .ProjectName }}_{{- .Version }}_{{- title .Os }}_{{- if eq .Arch "amd64" }}x86_64{{- else }}{{ .Arch }}{{ end}}'
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
release:
github:
owner: "openshift"
name: "backplane-cli"