Files
qv/.goreleaser.yaml

44 lines
686 B
YAML
Raw Normal View History

2025-01-23 14:03:58 +01:00
version: 2
before:
hooks:
- go mod tidy
builds:
- id: qv
main: ./cmd/web
binary: qv
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
goamd64:
- v1
- v2
- v3
- v4
goarm64:
- v8.0
ldflags:
- -s -w
archives:
- id: qv-archive
name_template: >-
{{ .ProjectName }}_
2025-01-23 14:12:16 +01:00
{{- .Version }}_
2025-01-23 14:03:58 +01:00
{{- .Os }}_
{{- .Arch }}_
{{- if eq .Arch "amd64" }}{{ .Amd64 }}
{{- else if eq .Arch "arm64" }}{{ .Arm64 }}
{{- end }}
2025-01-23 14:12:59 +01:00
formats: [ "tar.gz" ]
2025-01-23 14:03:58 +01:00
format_overrides:
- goos: windows
formats: [ "zip" ]