You've already forked prometheus-fail2ban-exporter
build: add goreleaser to build tool (#6)
Add the `goreleaser` tool to the repository to handle building and publishing the application. Add a simple configuration file to build the application for all major OS versions. Update the Makefile to include commands to build release and snapshot versions of the tool. Add a placeholder CHANGELOG file to be included in the package files.
This commit is contained in:
@@ -13,3 +13,9 @@ go-mod-tidy:
|
||||
format:
|
||||
go fmt $(go list ./... | grep -v /vendor/)
|
||||
go vet $(go list ./... | grep -v /vendor/)
|
||||
|
||||
build/snapshot:
|
||||
./tools/goreleaser_linux_amd64 --snapshot --rm-dist --skip-publish
|
||||
|
||||
build/release:
|
||||
./tools/goreleaser_linux_amd64 --rm-dist --skip-publish
|
||||
|
||||
Reference in New Issue
Block a user