feat(ci): Update release config

This commit is contained in:
2025-10-25 17:19:41 +03:00
parent a13770b2cd
commit 64121d56c7
4 changed files with 3340 additions and 42 deletions

View File

@@ -1,17 +1,10 @@
version: 2
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
- freebsd
ldflags:
- -s -w
- -X 'git.ostiwe.com/ostiwe-com/status/version.ApplicationVersion={{.Tag}}'
@@ -31,41 +24,6 @@ archives:
- goos: windows
formats: [zip]
changelog:
use: gitea
format: "{{ .SHA }}: {{ .Message }}{{ with .AuthorUsername }} (@{{ . }}){{ end }}"
abbrev: 0
sort: asc
groups:
- title: Features
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
order: 0
- title: Fixes
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
order: 1
- title: Refactoring
regexp: '^.*?refactor(\([[:word:]]+\))??!?:.+$'
order: 2
- title: "Bug fixes"
regexp: '^.*?bug(\([[:word:]]+\))??!?:.+$'
order: 3
- title: Others
order: 999
filters:
exclude:
- "^docs:"
- "^test:"
release:
gitea:
name: status
owner: ostiwe-com
footer: >-
---
Released by [GoReleaser](https://github.com/goreleaser/goreleaser).
gitea_urls:
api: https://git.ostiwe.com/api/v1
download: https://git.ostiwe.com