2024-11-06 17:11:37 +00:00
|
|
|
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
|
|
|
|
|
|
|
|
version: 2
|
|
|
|
|
|
|
|
before:
|
|
|
|
hooks:
|
|
|
|
- rm -fr ./dist
|
|
|
|
- go mod tidy
|
|
|
|
|
|
|
|
builds:
|
|
|
|
- goos:
|
|
|
|
- linux
|
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
- arm64
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
2024-11-07 10:38:45 +00:00
|
|
|
ldflags:
|
|
|
|
- -s -w -X git.smsvc.net/pomodoro/GoTomato/internal/metadata.GoTomatoVersion={{.Version}}
|
2024-11-06 17:11:37 +00:00
|
|
|
|
|
|
|
upx:
|
|
|
|
- enabled: true
|
|
|
|
compress: best
|
|
|
|
lzma: true
|
|
|
|
|
|
|
|
changelog:
|
|
|
|
sort: desc
|
|
|
|
|
|
|
|
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
|