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:
Hector
2021-02-07 10:46:25 +00:00
parent 188626198f
commit 570c162c13
4 changed files with 50 additions and 0 deletions

View File

@ -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