From 9f936065a907639661eca3924f0a8f09d94abbfe Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Mon, 1 Jul 2019 20:58:27 +0900 Subject: update goreleaser config file works with version 0.111.0. Signed-off-by: FUJITA Tomonori --- .goreleaser.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to '.goreleaser.yml') diff --git a/.goreleaser.yml b/.goreleaser.yml index 91690068..3b6c499b 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,8 +1,12 @@ # # .goreleaser.yml # Build customization +env: + - GO111MODULE=on + builds: - - main: ./cmd/gobgp/ + - id: gobgp + main: ./cmd/gobgp/ binary: gobgp ldflags: -s -extldflags "-static" goos: @@ -13,7 +17,8 @@ builds: - arm - arm64 - - main: ./cmd/gobgpd/ + - id: gobgpd + main: ./cmd/gobgpd/ binary: gobgpd ldflags: -s -extldflags "-static" goos: @@ -24,7 +29,8 @@ builds: - arm - arm64 -archive: - files: - - LICENSE - - README.md +archives: + - id: foo + files: + - LICENSE + - README.md -- cgit v1.2.3