terraria-companion/.goreleaser.yml
Felipe M. b2c94b36aa
Some checks failed
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/tag/release Pipeline failed
ci: add embed_data build tag to release
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 09:48:55 +01:00

68 lines
1.2 KiB
YAML

version: 2
project_name: terraria-companion
gitea_urls:
api: https://git.nakama.town/api/v1
download: https://git.nakama.town
before:
hooks:
- go mod tidy
-
builds:
- binary: terraria-companion
env:
- CGO_ENABLED=0
ldflags:
- -s -w
goos:
- linux
- darwin
goarch:
- amd64
- arm64
tags:
- embed_data
archives:
- name_template: >-
{{ .ProjectName }}_
{{- if eq .Os "darwin" }}Darwin{{- else }}Linux{{- end }}_
{{- if eq .Arch "amd64" }}x86_64{{- else }}{{ .Arch }}{{- end }}_{{ .Version }}
dockers_v2:
- images:
- "git.nakama.town/fmartingr/terraria-companion"
tags:
- "{{ .Version }}"
- latest
dockerfile: Containerfile
platforms:
- linux/amd64
- linux/arm64
checksum:
name_template: "checksums.txt"
snapshot:
version_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
groups:
- title: Features
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
order: 0
- title: "Fixes"
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
order: 1
- title: Others
order: 999
filters:
exclude:
- "^chore\\(deps\\):"
release:
prerelease: auto