Skip to content
Snippets Groups Projects
Unverified Commit 4ebaf5b5 authored by Antoine Leroyer's avatar Antoine Leroyer
Browse files

Configure goreleaser

parent 6f642196
Branches
Tags
No related merge requests found
File moved
env:
- GO111MODULE=on
- GOPROXY=https://gocenter.io
before:
hooks:
- go mod download
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- 386
- amd64
- arm
- arm64
ignore:
- goos: darwin
goarch: 386
checksum:
name_template: '{{ .ProjectName }}_checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- Merge pull request
- Merge branch
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
nfpms:
- file_name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
homepage: https://github.com/aleroyer/rsyslog_exporter
description: rsyslog-exporter for prometheus
maintainer: Antoine Leroyer <aleroyer@deezer.com>
license: Apache 2.0
bindir: /usr/bin
formats:
- deb
- rpm
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment