build changes
Some checks failed
Publish Image / publish (push) Waiting to run
Test / build (push) Waiting to run
Build / build (push) Has been cancelled

This commit is contained in:
Chuck Smith
2024-03-28 15:11:47 -04:00
parent fd8311b280
commit 138df71cc8
22 changed files with 392 additions and 99 deletions

View File

@@ -1,24 +1,48 @@
---
builds:
- flags: -tags "static_build"
ldflags: -w -X main.Version={{.Version}} -X main.Commit={{.Commit}}
- id: monkey
binary: monkey
main: ./cmd/monkey
flags: -tags "static_build"
ldflags: >-
-w
-X go.unflavoredmeson.com/monkey/v2.MonkeyVersion={{.Version}}
env:
- CGO_ENABLED=0
sign:
artifacts: checksum
archive:
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
goos:
- darwin
- freebsd
- linux
goarch:
- amd64
- arm64
goarm:
- 6
- 7
- id: monkey-server
binary: monkey-server
main: ./cmd/monkey-server
flags: -tags "static_build"
ldflags: >-
-w
-X go.unflavoredmeson.com/monkey/v2.MonkeyVersion={{.Version}}
env:
- CGO_ENABLED=0
goos:
- darwin
- freebsd
- linux
goarch:
- amd64
- arm64
goarm:
- 6
- 7
signs:
- artifacts: checksum
release:
gitea:
owner: unflavoredmeson
name: monkey
gitea_urls:
api: https://gitea.unflavoredmeson.com/api/v1/