From 48cee71583ede3ccaa9d220d049c843ca1b2fb67 Mon Sep 17 00:00:00 2001 From: Liam Galvin Date: Sun, 6 Mar 2022 23:36:55 +0000 Subject: [PATCH] Create .goreleaser.yml --- .goreleaser.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .goreleaser.yml diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..9589e71 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,26 @@ +builds: + - id: bearings + main: . + binary: bearings + ldflags: + - "-s -w" + flags: + - "--trimpath" + env: + - CGO_ENABLED=0 + goos: + - linux + - darwin + goarch: + - "386" + - amd64 + - arm64 +archives: + - + format: binary + name_template: "{{ .Binary}}-{{ .Os }}-{{ .Arch }}" +release: + prerelease: auto + github: + owner: liamg + name: bearings