handy-sshd/.goreleaser.yml
2023-08-09 08:01:01 +09:00

49 lines
1.1 KiB
YAML

project_name: handy-sshd
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
- freebsd
goarch:
- amd64
- arm
- arm64
- 386
- ppc64le
- s390x
- mips64
- mips64le
goarm:
- 6
- 7
main: ./main/main.go
archives:
- name_template: '{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}-{{ .Mips }}{{ end }}'
format_overrides:
- goos: windows
format: zip
nfpms:
- license: MIT
maintainer: Ryo Ota <nwtgck@nwtgck.org>
homepage: https://github.com/nwtgck/handy-sshd
description: "Portable SSH server"
formats:
- rpm
- deb
file_name_template: '{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}-{{ .Mips }}{{ end }}'
checksum:
name_template: 'checksums.txt'
release:
github:
disable: false
prerelease: auto
name_template: "v{{.Version}}"
brews:
- tap:
owner: nwtgck
name: homebrew-handy-sshd
homepage: "https://github.com/nwtgck/handy-sshd"
description: "Portable SSH server"