All checks were successful
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>
72 lines
1.4 KiB
YAML
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
|