forgejo-mcp/.goreleaser.yml
Christoph Görn dc8b37e6d2 fix: 🐛 release workflow checkout URL and skip-ci suppression
- Use https://code.forgejo.org/actions/checkout@v4 (Codeberg mirror)
  instead of short GitHub reference that fails on Codeberg runners
- Remove [skip ci] from semantic-release commit message so tag push
  still triggers the release workflow

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Christoph Görn <goern@b4mad.net>
2026-02-06 09:46:58 +01:00

32 lines
732 B
YAML

version: 2
builds:
- env:
- CGO_ENABLED=0
mod_timestamp: '{{ .CommitTimestamp }}'
flags:
- -trimpath
ldflags:
- '-s -w -X main.BuildTag={{.Version}} -X main.BuildCommit={{.Commit}} -X main.BuildDate={{.Date}}'
goos:
- linux
goarch:
- amd64
- arm64
binary: '{{ .ProjectName }}'
archives:
- formats: ['tar.gz']
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
wrap_in_directory: true
strip_binary_directory: true
format_overrides:
- goos: windows
formats: ['zip']
files:
- LICENSE
- README.md
checksum:
disable: true
gitea_urls:
api: https://codeberg.org/api/v1
download: https://codeberg.org