From 4e26128cebe44debb83ac059f8121c6b7c41a3cd Mon Sep 17 00:00:00 2001 From: Daniel Underwood Date: Sat, 26 Feb 2022 16:24:49 -0500 Subject: [PATCH] Added: goreleaser for binaries --- .github/workflows/release.yml | 0 .gitignore | 1 + .goreleaser.yaml | 11 +++++++++++ 3 files changed, 12 insertions(+) create mode 100644 .github/workflows/release.yml create mode 100644 .goreleaser.yaml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..e69de29 diff --git a/.gitignore b/.gitignore index 0f0f62b..338be84 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ # Dependency directories (remove the comment below to include it) # vendor/ result +dist/ diff --git a/.goreleaser.yaml b/.goreleaser.yaml new file mode 100644 index 0000000..ae7aae3 --- /dev/null +++ b/.goreleaser.yaml @@ -0,0 +1,11 @@ +project_name: log2http +builds: + - env: [CGO_ENABLED=0] + goos: + - linux + - windows + - darwin + goarch: + - amd64 + - arm64 +universal_binaries: \ No newline at end of file