Add .goreleaser.yaml for project configuration

Former-commit-id: 3a377d43de7756c99df67fb4a1708b2c84ec4ded
This commit is contained in:
Marc Schäfer
2026-02-22 22:12:48 +01:00
committed by GitHub
parent fea0d84cce
commit 9732660b89
+31
View File
@@ -0,0 +1,31 @@
project_name: newt
builds:
- id: newt
main: ./cmd/newt
binary: newt
goos:
- linux
goarch:
- amd64
- arm64
ldflags:
- -s -w -X main.version={{ .Version }}
nfpms:
- id: packages
package_name: newt
builds:
- newt
vendor: fosrl
maintainer: fosrl <repo@fosrl.io>
description: Newt - userspace tunnel client and TCP/UDP proxy
license: AGPL-3.0
formats:
- deb
- rpm
- apk
bindir: /usr/bin
contents:
- src: LICENSE
dst: /usr/share/doc/newt/LICENSE