Files
shhh/.goreleaser.yaml
T
jmug 9e7cf8a7e3
release-clis / release (push) Failing after 22s
build-secretsserver / build (push) Successful in 44s
chore: Set up goreleaser to build and release binaries.
2026-10-29 12:49:28 -07:00

48 lines
820 B
YAML

version: 2
gitea_urls:
api: https://git.handmadecities.com/api/v1
download: https://git.handmadecities.com/
before:
hooks:
- go mod tidy
builds:
- id: hmpki
main: ./cmd/hmpki
binary: hmpki
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- arm64
- amd64
- id: hmsecrets
main: ./cmd/hmsecrets
binary: hmsecrets
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- arm64
- amd64
archives:
- formats: [tar.gz]
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
format_overrides:
- goos: windows
formats: [zip]