feat: rename output binary and archives

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 the output archives to wrap the build files in a folder. This makes
extracting the archives a little easier.
This commit is contained in:
Hector 2022-02-20 08:37:48 +00:00
parent cc68fe3f01
commit 9a1371340b

View File

@ -1,10 +1,12 @@
# This is an example goreleaser.yaml file with some sane defaults. # This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com # Make sure to check the documentation at http://goreleaser.com
project_name: fail2ban_exporter
before: before:
hooks: hooks:
- make go/dependencies - make go/dependencies
builds: builds:
- -
binary: fail2ban_exporter
dir: src dir: src
goos: goos:
- linux - linux
@ -20,6 +22,7 @@ builds:
archives: archives:
- -
wrap_in_directory: true
files: files:
- LICENSE - LICENSE
- README.md - README.md