Files
gitea-mcp-extended/.goreleaser.yaml
Andrew Miller d3c4e271ef
Some checks failed
release-nightly / publish-nightly (push) Failing after 46s
release / goreleaser (push) Successful in 1m15s
release / publish-packages (push) Failing after 33s
fix: resolve CI failures in release workflows
- Downgrade setup-go@v6 to v5 (v6 breaks with "version: not found" on Gitea runner)
- Use go-version-file instead of go-version: stable for consistency
- Add skip_tls_verify to goreleaser gitea_urls for Cloudflare origin cert
- Add curl -k flag for package registry uploads
2026-03-05 13:11:51 -05:00

78 lines
1.6 KiB
YAML

# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
version: 2
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
main: .
goos:
- linux
- windows
- darwin
flags:
- -trimpath
ldflags:
- -s -w
- -X main.Version={{.Version}}
archives:
- formats: tar.gz
# this name template makes the OS and Arch compatible with the results of `uname`.
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
# use zip for windows archives
format_overrides:
- goos: windows
formats: zip
changelog:
sort: asc
groups:
- title: Features
regexp: "^.*feat[(\\w)]*:+.*$"
order: 0
- title: "Bug fixes"
regexp: "^.*fix[(\\w)]*:+.*$"
order: 1
- title: "Enhancements"
regexp: "^.*chore[(\\w)]*:+.*$"
order: 2
- title: "Refactor"
regexp: "^.*refactor[(\\w)]*:+.*$"
order: 3
- title: "Build process updates"
regexp: ^.*?(build|ci)(\(.+\))??!?:.+$
order: 4
- title: "Documentation updates"
regexp: ^.*?docs?(\(.+\))??!?:.+$
order: 4
- title: Others
order: 999
filters:
exclude:
- "^docs:"
- "^test:"
release:
footer: >-
---
Released by [GoReleaser](https://github.com/goreleaser/goreleaser).
gitea_urls:
api: https://git.lethalbits.com/api/v1
download: https://git.lethalbits.com
skip_tls_verify: true
force_token: gitea