From 11c8f1111c3f74ccc6bd4a3901f0eb447616f827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Mon, 4 May 2020 18:01:23 +0200 Subject: Build releases with goreleaser --- .goreleaser.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .goreleaser.yml (limited to '.goreleaser.yml') diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..51ffd0d --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,33 @@ +project_name: feed2imap-go + +before: + hooks: + - go mod download +builds: + - + binary: feed2imap-go + ldflags: + - -s -w -X github.com/Necoro/feed2imap-go/pkg/version.version={{.Version}} -X github.com/Necoro/feed2imap-go/pkg/version.commit={{.ShortCommit}} + goos: + - windows + - linux + - darwin + goarch: + - amd64 +archives: + - + replacements: + amd64: x86_64 + 386: x86_32 + + format: tar.gz + format_overrides: + - goos: windows + format: zip + files: + - LICENSE + - README.md + - config.yml.example + +changelog: + skip: true -- cgit v1.2.3