Compare commits

...

3 commits

Author SHA1 Message Date
6c308ddb97 chore(goreleaser): remove unused gitea token configuration
- remove `env_files` config key
- use default token location (`~/.config/goreleaser/gitea_token`)

🤖
2024-11-06 23:18:29 +01:00
9335214f08 feat: bump version to 0.1.1 2024-11-06 20:51:25 +01:00
31f588462f feat: add initial configuration for GoReleaser
🤖
2024-11-06 20:51:25 +01:00
3 changed files with 44 additions and 1 deletions

2
.gitignore vendored
View file

@ -1 +1,3 @@
GoTomato
dist/

41
.goreleaser.yaml Normal file
View file

@ -0,0 +1,41 @@
# 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
upx:
- enabled: true
compress: best
lzma: true
changelog:
sort: asc
filters:
exclude:
- "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

View file

@ -2,5 +2,5 @@ package metadata
import "strings"
const GoTomatoVersion = "0.1.0" // The GoTomato version
const GoTomatoVersion = "0.1.1" // The GoTomato version
var ProtocolVersion = strings.Split(GoTomatoVersion, ".")[0] // The protocol version