mattermost-push-proxy-router/.goreleaser.yml
Felipe M. 3c6fea8a46
All checks were successful
Release / release (push) Successful in 2m26s
CI / goreleaser-lint (push) Successful in 6s
CI / format (push) Successful in 28s
CI / test (push) Successful in 1m20s
CI / lint (push) Successful in 2m36s
CI / build (push) Successful in 34s
feat: add Mattermost push proxy prefix router
Implement a stateless Go service that routes /api/v1/send_push and /api/v1/ack
by platform prefix to configured backends, enabling mixed official and custom
mobile clients on a single PushNotificationServer URL.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-26 10:03:43 +02:00

72 lines
1.4 KiB
YAML

version: 2
project_name: mattermost-push-proxy-router
gitea_urls:
api: https://git.nakama.town/api/v1
download: https://git.nakama.town
before:
hooks:
- go mod tidy
builds:
- binary: mattermost-push-proxy-router
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X main.version={{.Version}}
goos:
- linux
- darwin
goarch:
- amd64
- arm64
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/mattermost-push-proxy-router"
tags:
- "{{ .Version }}"
- latest
dockerfile: Containerfile
labels:
"org.opencontainers.image.version": "{{ .Version }}"
annotations:
"org.opencontainers.image.version": "{{ .Version }}"
platforms:
- linux/amd64
- linux/arm64
checksum:
name_template: checksums.txt
changelog:
sort: asc
groups:
- title: Features
regexp: "^.*feat.*$"
order: 0
- title: Bug Fixes
regexp: "^.*fix.*$"
order: 1
- title: Documentation
regexp: "^.*docs.*$"
order: 2
- title: CI/CD
regexp: "^.*ci.*$"
order: 3
- title: Others
order: 999
release:
gitea:
owner: fmartingr
name: mattermost-push-proxy-router
prerelease: auto