diff --git a/.gitignore b/.gitignore index 2201ae4..5ee2497 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ GoTomato + +dist/ diff --git a/.goreleaser.yaml b/.goreleaser.yaml new file mode 100644 index 0000000..aa2e879 --- /dev/null +++ b/.goreleaser.yaml @@ -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