Skip to content

Commit

Permalink
Another fix on the build/release
Browse files Browse the repository at this point in the history
Signed-off-by: João Pereira <joaod@vmware.com>
  • Loading branch information
joaopapereira committed Sep 22, 2023
1 parent f2a8ee8 commit 005718e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ builds:
flags:
- -trimpath

ldflags:
- -X github.com/k14s/kwt/pkg/kwt/version.Version={{ .Version }}

archives:
- format: binary
name_template: >-
Expand Down
8 changes: 4 additions & 4 deletions hack/build-binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

set -e -x -u

GOOS=darwin GOARCH=amd64 go build -o kwt-darwin-amd64 ./cmd/...
GOOS=darwin GOARCH=arm64 go build -o kwt-darwin-arm64 ./cmd/...
GOOS=linux GOARCH=amd64 go build -o kwt-linux-amd64 ./cmd/...
GOOS=linux GOARCH=arm64 go build -o kwt-linux-arm64 ./cmd/...
GOOS=darwin GOARCH=amd64 go build -trimpath -o kwt-darwin-amd64 ./cmd/...
GOOS=darwin GOARCH=arm64 go build -trimpath -o kwt-darwin-arm64 ./cmd/...
GOOS=linux GOARCH=amd64 go build -trimpath -o kwt-linux-amd64 ./cmd/...
GOOS=linux GOARCH=arm64 go build -trimpath -o kwt-linux-arm64 ./cmd/...

shasum -a 256 ./kwt-*

0 comments on commit 005718e

Please sign in to comment.