summaryrefslogtreecommitdiffstats
path: root/.goreleaser.yml
blob: 5af21a85424abb4865e876cfc45249a385783372 (plain) (blame)
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
release:
  prerelease: auto
  name_template: "{{.ProjectName}} v{{.Version}}"

builds:
- env:
    - CGO_ENABLED=0
  goos:
    - freebsd
    - windows
    - darwin
    - linux
    - dragonfly
    - netbsd
    - openbsd
  goarch:
    - amd64
    - arm
    - arm64
    - 386
  goarm:
    - 6
    - 7
  ldflags:
    - -s -w -X main.githash={{.ShortCommit}}

archives:
  -
    id: matterbridge
    builds:
    - matterbridge
    name_template: "{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
    format: binary
    files:
      - none*
    replacements:
      386: 32bit
      amd64: 64bit

checksum:
  name_template: 'checksums.txt'