summaryrefslogtreecommitdiffhomepage
path: root/.goreleaser.yml
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@gmail.com>2019-07-01 20:58:27 +0900
committerFUJITA Tomonori <fujita.tomonori@gmail.com>2019-07-01 20:58:27 +0900
commit9f936065a907639661eca3924f0a8f09d94abbfe (patch)
tree4672a946ff30e494321dbc4fe2b99d8729ae4a18 /.goreleaser.yml
parent07f0fd48d5ac2e83378222762cd0a98e01d3bf5e (diff)
update goreleaser config file
works with version 0.111.0. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
Diffstat (limited to '.goreleaser.yml')
-rw-r--r--.goreleaser.yml18
1 files changed, 12 insertions, 6 deletions
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