-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.goreleaser.yml
33 lines (33 loc) · 925 Bytes
/
.goreleaser.yml
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
dist: dist
builds:
- main: ./main.go
env:
- CGO_ENABLED=1
- GO111MODULE=on
- GOFLAGS=-mod=vendor
goos:
- linux
goarch:
- amd64
ldflags:
- -w -s
- -X "github.com/prometheus/common/version.Version={{ .Tag }}"
- -X "github.com/prometheus/common/version.Revision={{ .Env.REVISION }}"
- -X "github.com/prometheus/common/version.Branch={{ .Env.BRANCH }}"
- -X "github.com/prometheus/common/version.BuildUser={{ .Env.USER }}"
- -X "github.com/prometheus/common/version.BuildDate={{ .Env.BUILD_DATE }}"
archives:
- name_template: "{{ .ProjectName }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
wrap_in_directory: false
files:
- LICENSE.md
checksum:
name_template: 'CHECKSUM'
release:
github:
owner: grepplabs
name: mqtt-proxy
draft: false
prerelease: auto
extra_files:
- glob: .cr-release-packages/mqtt-proxy-*-chart.tgz