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.
# 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
@ -20,6 +22,7 @@ builds:
archives:
-
wrap_in_directory: true
files:
- LICENSE
- README.md