3911eca07e
Update the goreleaser config to rename the output binary and archive names to `fail2ban_exporter` instead of defaulting to the project name. This better aligns with conventions used by other exporters. Update Dockerfile and Makefile to follow the new naming scheme. Update the output archives to wrap the build files in a folder. This makes extracting the archives a little easier. BREAKING CHANGE: Release binary name has been changed to `fail2ban_exporter`.
33 lines
572 B
YAML
33 lines
572 B
YAML
# This is an example goreleaser.yaml file with some sane defaults.
|
|
# Make sure to check the documentation at http://goreleaser.com
|
|
project_name: fail2ban_exporter
|
|
before:
|
|
hooks:
|
|
- make go/dependencies
|
|
builds:
|
|
-
|
|
binary: fail2ban_exporter
|
|
dir: src
|
|
goos:
|
|
- linux
|
|
- darwin
|
|
goarch:
|
|
- amd64
|
|
- "386"
|
|
- arm
|
|
- arm64
|
|
goarm:
|
|
- "6"
|
|
- "7"
|
|
|
|
archives:
|
|
-
|
|
wrap_in_directory: true
|
|
files:
|
|
- LICENSE
|
|
- README.md
|
|
- CHANGELOG.md
|
|
checksum:
|
|
name_template: 'checksums.txt'
|
|
changelog:
|
|
skip: true
|