summaryrefslogtreecommitdiffhomepage
path: root/.goreleaser.yml
blob: 3b6c499baee2bdedeba823cc0b402f69ab4611fe (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
#
# .goreleaser.yml
# Build customization
env:
  - GO111MODULE=on

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