forked from Stieneee/mumble-discord-bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
59 lines (58 loc) · 1.63 KB
/
.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# This is an example .goreleaser.yml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod download
# you may remove this if you don't need go generate
# - go generate ./...
builds:
- main: ./cmd/mumble-discord-bridge
ldflags: '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser'
env:
- CGO_ENABLED=1
flags:
- -tags=netgo
goos:
- linux
# - windows
# - darwin
goarch:
- amd64
# dockers:
# - goos: linux
# goarch: amd64
# image_templates:
# - "ghcr.io/stieneee/mumble-discord-bridge:latest"
# - "ghcr.io/stieneee/mumble-discord-bridge:{{ .Tag }}"
# - "stieneee/mumble-discord-bridge:latest"
# - "stieneee/mumble-discord-bridge:{{ .Tag }}"
# skip_push: "false"
# dockerfile: Dockerfile
# use: docker
# build_flag_templates:
# - "--pull"
# - "--label=org.opencontainers.image.created={{.Date}}"
# - "--label=org.opencontainers.image.title={{.ProjectName}}"
# - "--label=org.opencontainers.image.revision={{.FullCommit}}"
# - "--label=org.opencontainers.image.version={{.Version}}"
# - "--platform=linux/amd64"
# push_flags:
# - --tls-verify=false
# extra_files:
# - config.yml
# archives:
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
release:
extra_files:
- glob: "./LICENSES.zip"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^chore:'