Skip to content

Commit

Permalink
Add Version as ldflag in make script (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
feedmeapples committed Mar 10, 2023
1 parent c1a0000 commit 6c66088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ PINNED_DEPENDENCIES := \

build:
@printf $(COLOR) "Building Temporal CLI with OS: $(GOOS), ARCH: $(GOARCH)..."
CGO_ENABLED=0 go build ./cmd/temporal
CGO_ENABLED=0 go build -ldflags "-s -w -X github.com/temporalio/cli/headers.Version=0.0.0" ./cmd/temporal

clean:
@printf $(COLOR) "Clearing binaries..."
Expand Down

0 comments on commit 6c66088

Please sign in to comment.