Simplify goreleaser, package deb and rpm

This commit simplifies the goreleaser configuration and then adds nfpm
support which allows us to build .deb and .rpm for each of the ARCH we
support.

The deb and rpm packages adds systemd services and users, creates
directories etc and should in general give the user a working
environment. We should be able to remove a lot of the complicated,
PEBCAK inducing documentation after this.

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby 2023-03-28 18:43:33 +02:00 committed by Juan Font
parent dfc5d861c7
commit b684ac0668
12 changed files with 364 additions and 197 deletions

1
.gitignore vendored
View file

@ -14,6 +14,7 @@
# Dependency directories (remove the comment below to include it)
# vendor/
dist/
/headscale
config.json
config.yaml