Compare commits
2 commits
6c308ddb97
...
783d158e92
Author | SHA1 | Date | |
---|---|---|---|
783d158e92 | |||
f346cbbcaa |
3 changed files with 44 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1 +1,3 @@
|
|||
GoTomato
|
||||
|
||||
dist/
|
||||
|
|
41
.goreleaser.yaml
Normal file
41
.goreleaser.yaml
Normal 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: desc
|
||||
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
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue