From e2e84ede6b7f453d87509a9b6a13e8bc66f9b329 Mon Sep 17 00:00:00 2001 From: Joona Hoikkala <joohoi@users.noreply.github.com> Date: Thu, 1 Feb 2018 14:20:40 +0200 Subject: [PATCH] Goreleaser config (#37) --- .goreleaser.yml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .goreleaser.yml diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..451a2ea --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,41 @@ +builds: + - main: main.go + binary: acme-dns + env: + - CGO_ENABLED=1 + goos: + - linux + - darwin + - windows + - freebsd + - netbsd + - openbsd + goarch: + - 386 + - amd64 + - arm + - arm64 + ignore: + - goos: darwin + goarch: 386 + - goos: darwin + goarch: arm + - goos: darwin + goarch: arm64 + +archive: + format: tar.gz + format_overrides: + - goos: windows + format: zip + - goos: darwin + format: zip + replacements: + amd64: 64bit + 386: 32bit + darwin: macOS + files: + - LICENSE + - README.md + - Dockerfile + - config.cfg -- GitLab