From da8014074cee0b15306df8dc8aa7b076c7caf153 Mon Sep 17 00:00:00 2001 From: Juan Font Date: Mon, 14 Jun 2021 09:17:23 +0200 Subject: [PATCH] Added missing goreleaser file --- .goreleaser.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .goreleaser.yml diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 00000000..e6e9451d --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,40 @@ +# This is an example .goreleaser.yml file with some sane defaults. +# Make sure to check the documentation at http://goreleaser.com +before: + hooks: + - go mod tidy +builds: + - env: + - CGO_ENABLED=0 + goos: + - linux + - windows + - darwin + goarch: + - amd64 + - arm + - arm64 + goarm: + - 6 + - 7 + + main: ./cmd/headscale/headscale.go + mod_timestamp: '{{ .CommitTimestamp }}' + +archives: + - replacements: + darwin: Darwin + linux: Linux + windows: Windows + amd64: x86_64 + +checksum: + name_template: 'checksums.txt' +snapshot: + name_template: "{{ .Tag }}-next" +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:'