Skip to content

Commit

Permalink
Use make during release
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nirs committed Aug 25, 2024
1 parent cf79160 commit 89b018d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ permissions:
contents: write
packages: write

env:
CGO_ENABLED: "0"

jobs:
release-matrix:
name: Release binaries
Expand All @@ -35,3 +32,4 @@ jobs:
goarch: ${{ matrix.goarch }}
md5sum: FALSE
compress_assets: OFF
build_command: make

0 comments on commit 89b018d

Please sign in to comment.