2024-11-07 19:19:18 +00:00
|
|
|
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
|
2024-11-10 08:29:33 +00:00
|
|
|
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
|
2024-11-07 19:19:18 +00:00
|
|
|
|
|
|
|
version: 2
|
|
|
|
|
|
|
|
before:
|
|
|
|
hooks:
|
|
|
|
- go mod tidy
|
|
|
|
|
|
|
|
builds:
|
|
|
|
- goos:
|
|
|
|
- linux
|
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
- arm64
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
2024-11-10 08:29:33 +00:00
|
|
|
ldflags:
|
|
|
|
- -s -w -X {{.ModulePath}}/internal/metadata.ChronoTomatoVersion={{.Version}}
|
2024-11-07 19:19:18 +00:00
|
|
|
|
|
|
|
upx:
|
|
|
|
- enabled: true
|
|
|
|
compress: best
|
|
|
|
lzma: true
|
|
|
|
|
|
|
|
changelog:
|
|
|
|
use: gitea
|
|
|
|
|
|
|
|
archives:
|
|
|
|
- format: binary
|
|
|
|
|
|
|
|
release:
|
|
|
|
gitea:
|
|
|
|
owner: pomodoro
|
|
|
|
name: ChronoTomato
|
|
|
|
mode: replace
|
|
|
|
|
|
|
|
gitea_urls:
|
|
|
|
download: http://git.smsvc.net
|
|
|
|
api: http://git.smsvc.net/api/v1
|