summaryrefslogtreecommitdiffhomepage
path: root/.goreleaser.yml
blob: 90969ce28fd47a7eae5efb2c25ad71f9f49ee5a8 (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
38
39
40
41
42
43
#
# .goreleaser.yml
# Build customization
env:
  - GO111MODULE=on
  - CGO_ENABLED=0

builds:
  - id: gobgp
    main: ./cmd/gobgp/
    binary: gobgp
    flags:
      - -a
      - -tags=netgo
    ldflags: -s
    goos:
      - linux
    goarch:
      - amd64
      - 386
      - arm
      - arm64

  - id: gobgpd
    main: ./cmd/gobgpd/
    binary: gobgpd
    flags:
      - -a
      - -tags=netgo
    ldflags: -s
    goos:
      - linux
    goarch:
      - amd64
      - 386
      - arm
      - arm64

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