mirror of
https://github.com/mgechev/revive.git
synced 2024-12-12 10:44:59 +02:00
32 lines
636 B
YAML
32 lines
636 B
YAML
# This is an example goreleaser.yaml file with some sane defaults.
|
|
# Make sure to check the documentation at http://goreleaser.com
|
|
---
|
|
archives:
|
|
- id: revive
|
|
name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
|
|
before:
|
|
hooks:
|
|
- "go mod download"
|
|
- "go generate ./..."
|
|
builds:
|
|
-
|
|
env:
|
|
- CGO_ENABLED=0
|
|
- BUILDER=GoReleaser
|
|
goos:
|
|
- linux
|
|
- darwin
|
|
- windows
|
|
|
|
changelog:
|
|
filters:
|
|
exclude:
|
|
- "^docs:"
|
|
- "^test:"
|
|
sort: asc
|
|
checksum:
|
|
name_template: checksums.txt
|
|
snapshot:
|
|
name_template: "{{ .Tag }}-next"
|
|
project_name: revive
|