From 2238d8301df2589b8dc0907ddbb31d6d2d7fdba7 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sun, 11 Aug 2019 21:49:54 +0200 Subject: [PATCH] Added .goreleaser.yml --- .goreleaser.yml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .goreleaser.yml diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..c2bf8e1 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,46 @@ +env: + - GO111MODULE=on +before: + hooks: + - go mod download +builds: + - + binary: mastotool + ldflags: -s -w -X main.Version={{ .Version }} -X main.CommitSHA={{ .Commit }} + goos: + - linux + - darwin + goarch: + - amd64 + - arm64 + - 386 + - arm + goarm: + - 6 + - 7 + ignore: + - goos: darwin + goarch: 386 + - goos: linux + goarch: arm + goarm: 7 +sign: + artifacts: checksum +archives: + - + replacements: + darwin: Darwin + linux: Linux + windows: Windows + 386: i386 + amd64: x86_64 +checksum: + name_template: 'checksums.txt' +snapshot: + name_template: "{{ .Tag }}-next" +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:'