From c0a319ba7e3fa1f35c691408d94d20076e9f1739 Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Mon, 26 Jun 2023 14:15:52 +0200 Subject: [PATCH] Add tool binaries --- .goreleaser.yaml | 44 ++++++++++++++++++++++++++++++++++++-------- 1 file changed, 36 insertions(+), 8 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index eaf9881..78dd938 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -7,24 +7,52 @@ builds: - CGO_ENABLED=1 goos: - linux - - darwin goarch: - amd64 - - arm64 goamd64: - v3 - goarm: - - "7" id: "cc-backend" main: ./cmd/cc-backend tags: - static_build hooks: pre: make frontend - ignore: - - goos: linux - goarch: arm64 - + - env: + - CGO_ENABLED=0 + goos: + - linux + goarch: + - amd64 + goamd64: + - v3 + id: "archive-manager" + main: ./tools/archive-manager + tags: + - static_build + - env: + - CGO_ENABLED=0 + goos: + - linux + goarch: + - amd64 + goamd64: + - v3 + id: "archive-migration" + main: ./tools/archive-migration + tags: + - static_build + - env: + - CGO_ENABLED=0 + goos: + - linux + goarch: + - amd64 + goamd64: + - v3 + id: "gen-keypair" + main: ./tools/gen-keypair + tags: + - static_build archives: - format: tar.gz # this name template makes the OS and Arch compatible with the results of uname.