From d6f3a0a9d42072cdf20e8ec6731500f1fc7d873c Mon Sep 17 00:00:00 2001 From: Grzegorz Dlugoszewski Date: Sat, 30 May 2020 13:52:52 +0200 Subject: [PATCH] Add goreleaser config --- .gitignore | 1 + .goreleaser.yml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 .gitignore create mode 100644 .goreleaser.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7773828 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +dist/ \ No newline at end of file diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..3ed02b4 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,30 @@ +before: + hooks: + - go mod download + +builds: + - main: ./cmd/git-get/main.go + binary: "git-get" + goos: + - linux + - darwin + - windows + +archives: +- replacements: + darwin: macOS + 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:'