From aacbece88dd9b51ec2169dbfa89cd5826c7098d1 Mon Sep 17 00:00:00 2001 From: Kamal Nasser Date: Wed, 27 May 2020 22:03:49 +0300 Subject: [PATCH] add goreleaser config --- .goreleaser.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .goreleaser.yml diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..55a9c43 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,27 @@ +# Make sure to check the documentation at http://goreleaser.com +before: + hooks: + - go mod download +builds: + - main: . + binary: do-ansible-inventory + goos: + - linux + - windows + - darwin + goarch: + - amd64 + env: + - CGO_ENABLED=0 +archives: + - replacements: + darwin: macos + linux: linux + windows: windows + amd64: x86_64 +checksum: + name_template: "checksums.txt" +snapshot: + name_template: "{{ .Tag }}-next" +changelog: + sort: asc