1
0
mirror of https://github.com/mgechev/revive.git synced 2025-10-30 23:37:49 +02:00
Files
revive/.goreleaser.yml
2024-12-13 11:43:04 +01:00

33 lines
650 B
YAML

# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
---
version: 2
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:
version_template: "{{ .Tag }}-next"
project_name: revive