summaryrefslogtreecommitdiffhomepage
path: root/.goreleaser.yml
blob: 7f3b564e63fe2032580cdaa5569ab682aeba6058 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#
# .goreleaser.yml
# Build customization
env:
  - GO111MODULE=on
  - CGO_ENABLED=0

builds:
  - id: gobgp
    main: ./cmd/gobgp/
    binary: gobgp
    ldflags: -s -extldflags "-static"
    goos:
      - linux
    goarch:
      - amd64
      - 386
      - arm
      - arm64

  - id: gobgpd
    main: ./cmd/gobgpd/
    binary: gobgpd
    ldflags: -s -extldflags "-static"
    goos:
      - linux
    goarch:
      - amd64
      - 386
      - arm
      - arm64

archives:
  - id: foo
    files:
      - LICENSE
      - README.md