From 89b018ddd7ce601b8992a92a2f8decf89f454657 Mon Sep 17 00:00:00 2001 From: Nir Soffer Date: Sun, 25 Aug 2024 04:14:43 +0300 Subject: [PATCH] Use make during release The build command is duplicated in the release workflow, Makefile, and Containerfile. The command is simple now so this is fine, but we want to make inject build info into the executable. Simplify by using make in the release workflow. This also makes debugging release issues easier since it uses the same command we can run locally. --- .github/workflows/release.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5cd3838..1ced73c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,9 +12,6 @@ permissions: contents: write packages: write -env: - CGO_ENABLED: "0" - jobs: release-matrix: name: Release binaries @@ -35,3 +32,4 @@ jobs: goarch: ${{ matrix.goarch }} md5sum: FALSE compress_assets: OFF + build_command: make