-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
94 lines (92 loc) · 2.6 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
- make buildDeps
# You may remove this if you don't use go modules.
- go mod download
# you may remove this if you don't need go generate
- go generate ./...
- make completions
builds:
- binary: minikube-support
id: minikube-support
env:
- CGO_ENABLED=0
goos:
- linux
- windows
ldflags:
- -X 'github.com/qaware/minikube-support/version.Version={{.Version}}'
- -X 'github.com/qaware/minikube-support/version.Revision={{.ShortCommit}}'
- -X 'github.com/qaware/minikube-support/version.Branch={{.Branch}}'
- -X 'github.com/qaware/minikube-support/version.CommitDate={{.CommitTimestamp}}'
- -s -w -extldflags '-static'
goarch:
- amd64
- arm
- arm64
goarm:
- 6
flags:
- -trimpath
mod_timestamp: '{{ .CommitTimestamp }}'
- binary: minikube-support
id: minikube-support-macos
env:
- CGO_ENABLED=0
goos:
- darwin
ldflags:
- -X 'github.com/qaware/minikube-support/version.Version={{.Version}}'
- -X 'github.com/qaware/minikube-support/version.Revision={{.ShortCommit}}'
- -X 'github.com/qaware/minikube-support/version.Branch={{.Branch}}'
- -X 'github.com/qaware/minikube-support/version.CommitDate={{.CommitTimestamp}}'
- -s -w -extldflags '-static'
goarch:
- amd64
- arm64
flags:
- -trimpath
mod_timestamp: '{{ .CommitTimestamp }}'
# hooks:
# post: gon gon.hcl
brews:
- goarm: 6
tap:
owner: qaware
name: homebrew-minikube-support
commit_author:
name: goreleaserbot
email: [email protected]
folder: Formula
homepage: "https://github.com/qaware/minikube-support"
description: "The minikube support tools provides a better integration into your local operating system. "
license: "MIT"
dependencies:
- name: mkcert
- name: minikube
- name: helm
test: |
system "#{bin}/minikube-support --version"
install: |
bin.install "minikube-support"
bash_completion.install "completions/minikube-support.bash" => "minikube-support"
zsh_completion.install "completions/minikube-support.zsh" => "_minikube-support"
archives:
- files:
- README.md
- LICENSE
- completions/*
- docs/**
checksum:
name_template: 'checksums.txt'
algorithm: sha512
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'