# This is an example .goreleaser.yml file with some sensible defaults.# Make sure to check the documentation at https://goreleaser.combefore:hooks:# You may remove this if you don't use go modules.- go mod tidy# you may remove this if you don't need go generate# - go generate ./...builds:- id:http-tunnel-clientbinary:http-tunnel-clientmain:./cmd/http-tunnel-clientenv:- CGO_ENABLED=0goos:- linux- windows- darwingoarch:- amd64- arm64- id:http-tunnel-serverbinary:http-tunnel-servermain:./cmd/http-tunnel-serverenv:- CGO_ENABLED=0goos:- linux- windows- darwingoarch:- amd64- arm64archives:- format:tar.gz# this name template makes the OS and Arch compatible with the results of uname.name_template:>- {{ .ProjectName }}_
{{- .Version }}_
{{- title .Os }}_
{{- .Arch }}
{{- if .Arm }}v{{ .Arm }}{{ end }}# use zip for windows archivesformat_overrides:- goos:windowsformat:zipchecksum:name_template:'checksums.txt'snapshot:name_template:"{{ incpatch .Version }}-next"changelog:sort:ascfilters:exclude:- '^docs:'- '^test:'# The lines beneath this are called `modelines`. See `:help modeline`# Feel free to remove those if you don't want/use them.# yaml-language-server: $schema=https://goreleaser.com/static/schema.json# vim: set ts=2 sw=2 tw=0 fo=cnqoj