send2gokapi/.goreleaser.yaml
Leon Mika a1fb290b9c
Some checks failed
Build and Release / release (push) Failing after 10s
Switching to release
2025-06-01 10:21:51 +10:00

33 lines
609 B
YAML

version: 2
builds:
- id: send2gokapi
goos: [linux, darwin]
goarch: [amd64, arm64]
dir: .
main: ./cmd/myapp
env:
- CGO_ENABLED=0
archives:
- ids: [send2gokapi]
formats: [tar.gz]
name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}"
files:
- LICENSE.txt
- README.md
release:
gitea:
owner: user
name: repo
ids:
- default
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.tar.gz"
mode: keep-existing
gitlab_urls:
api: https://lmika.dev/api/v4/
download: https://lmika.dev
use_job_token: true