GoTomato/.goreleaser.yaml

44 lines
679 B
YAML
Raw Normal View History

# vim: set ts=2 sw=2 tw=0 fo=cnqoj
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
version: 2
before:
hooks:
- go mod tidy
builds:
- goos:
- linux
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X {{.ModulePath}}/internal/metadata.GoTomatoVersion={{.Version}}
upx:
- enabled: true
compress: best
lzma: true
changelog:
use: gitea
filters:
exclude:
- "chore: bump version to"
archives:
- format: binary
release:
gitea:
owner: pomodoro
name: GoTomato
mode: replace
gitea_urls:
download: http://git.smsvc.net
api: http://git.smsvc.net/api/v1