version: 2 project_name: agent-lib # Releases gehen an die eigene Gitea-Instanz (NICHT GitHub): # GITEA_TOKEN= als Umgebungsvariable # Owner/Name sind explizit gesetzt, weil das SCP-Stil-Remote # (gitea@code.m3ta.dev:m3tam3re/agent-lib.git) fuer die automatische # Ableitung unzuverlaessig ist. gitea_urls: api: https://code.m3ta.dev/api/v1 download: https://code.m3ta.dev release: draft: false prerelease: auto mode: append gitea: owner: m3tam3re name: agent-lib before: hooks: - go mod tidy builds: - id: agent-lib env: - CGO_ENABLED=0 goos: - windows - linux - darwin goarch: - amd64 - arm64 ignore: - goos: windows goarch: arm64 ldflags: - -s -w -X github.com/m3tam3re/agent-lib/internal/version.Version={{.Version}} binary: agent-lib checksum: name_template: "checksums.txt" archives: - id: agent-lib formats: [tar.gz] format_overrides: - goos: windows formats: [zip] # Explizit stabil, damit Fleet-Download-URLs vorhersehbar bleiben: # .../releases/download//agent-lib__. name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}" changelog: sort: asc filters: exclude: - "^docs:" - "^test:" - "^chore:" - Merge pull request - Merge branch