From 5430f743d7beba6c4a61d40d9392ebb0780a6673 Mon Sep 17 00:00:00 2001 From: Chase Pierce Date: Fri, 3 Jul 2020 11:33:14 -0600 Subject: [PATCH] adding mod hooks back in --- .goreleaser.yml | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index e558081..80d57ba 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,9 @@ +env: + - GO111MODULE=on + - GOPROXY=https://proxy.golang.org +before: + hooks: + - go mod download builds: - main: cmd/serve/main.go binary: serve @@ -20,13 +26,14 @@ builds: archives: - id: tarball format: tar.gz - format_overrides: - - goos: windows - format: zip replacements: darwin: macos 386: i386 amd64: x86_64 + format_overrides: + - goos: windows + format: zip + brews: - github: owner: syntaqx @@ -36,11 +43,12 @@ brews: description: serve is a static http server anywhere you need one. test: | system "#{bin}/serve version" + changelog: sort: asc filters: exclude: - - '^docs:' - - '^test:' - - Merge pull request - - Merge branch + - '^docs:' + - '^test:' + - Merge pull request + - Merge branch