mirror of
https://github.com/stryan/mumble-discord-bridge.git
synced 2024-11-22 21:35:44 -05:00
60 lines
1.6 KiB
YAML
60 lines
1.6 KiB
YAML
# 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:'
|