summaryrefslogtreecommitdiffhomepage
path: root/.goreleaser.yml
diff options
context:
space:
mode:
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