1
0
mirror of https://github.com/stryan/mumble-discord-bridge.git synced 2024-11-23 05:45:41 -05:00
mumble-discord-bridge/.goreleaser.yml

60 lines
1.6 KiB
YAML
Raw Normal View History

2021-01-09 18:18:31 -05:00
# 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'
2021-02-01 17:43:43 -05:00
env:
2021-01-09 18:18:31 -05:00
- CGO_ENABLED=1
2021-02-01 17:43:43 -05:00
flags:
- -tags=netgo
2021-01-09 18:18:31 -05:00
goos:
- linux
# - windows
# - darwin
goarch:
- amd64
2021-12-15 00:55:21 -05:00
# 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
2021-01-09 18:18:31 -05:00
2021-12-14 00:59:51 -05:00
# archives:
2021-01-09 18:18:31 -05:00
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
2021-12-15 00:07:04 -05:00
release:
extra_files:
2021-12-15 00:55:21 -05:00
- glob: "./LICENSES.zip"
2021-01-09 18:18:31 -05:00
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^chore:'