From 9a1371340b78e810ada17bc3faa0827cf722aa80 Mon Sep 17 00:00:00 2001 From: Hector Date: Sun, 20 Feb 2022 08:37:48 +0000 Subject: [PATCH] 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. --- .goreleaser.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 0113e8d..2675411 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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