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]