mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-20 10:27:02 +00:00
goreleaser
This commit is contained in:
parent
9293920f2a
commit
ae53238bbd
2 changed files with 26 additions and 0 deletions
23
.goreleaser.yml
Normal file
23
.goreleaser.yml
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
builds:
|
||||||
|
- env:
|
||||||
|
- CGO_ENABLED=0
|
||||||
|
goos:
|
||||||
|
- windows
|
||||||
|
- linux
|
||||||
|
- darwin
|
||||||
|
archives:
|
||||||
|
- format: tar.gz
|
||||||
|
format_overrides:
|
||||||
|
- goos: windows
|
||||||
|
format: zip
|
||||||
|
name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"
|
||||||
|
checksum:
|
||||||
|
name_template: 'checksums.txt'
|
||||||
|
snapshot:
|
||||||
|
name_template: "{{ .Tag }}-next"
|
||||||
|
changelog:
|
||||||
|
sort: asc
|
||||||
|
filters:
|
||||||
|
exclude:
|
||||||
|
- '^docs:'
|
||||||
|
- '^test:'
|
||||||
3
Makefile
3
Makefile
|
|
@ -24,3 +24,6 @@ build-bats:
|
||||||
|
|
||||||
docker-acceptance: build-bats
|
docker-acceptance: build-bats
|
||||||
docker run -t bats acceptance.bats
|
docker run -t bats acceptance.bats
|
||||||
|
|
||||||
|
release:
|
||||||
|
goreleaser --rm-dist
|
||||||
Loading…
Reference in a new issue