Skip to content

Commit

Permalink
Merge branch 'release/v1.0.34.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
yeyisan committed Oct 1, 2024
2 parents 4a94174 + 54b5b43 commit aa0dafe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ VERSION_TAG = $(shell echo $(TAG)| cut -d '-' -f 1)
DATE = $(shell git log -1 --format=%cd --date=format:"%Y%m%d")
BUILD_DIR = _release
OUT = $(BUILD_DIR)/kdt
PLATFORMS := linux/amd64 windows/amd64 darwin/amd64 darwin/arm64
PLATFORMS := linux/amd64 linux/arm64 windows/amd64 darwin/amd64 darwin/arm64
TEMP = $(subst /, ,$@)
OS = $(word 1, $(TEMP))
ARCH = $(word 2, $(TEMP))
Expand Down Expand Up @@ -46,4 +46,4 @@ $(PLATFORMS):
-buildmode exe \
-ldflags '-s -w -X github.com/kondukto-io/kdt/cmd.Version=$(VERSION) -extldflags=-static' \
-o $(OUT)-$(OS)-$(ARCH)
$(call hash,kdt-$(OS)-$(ARCH))
$(call hash,kdt-$(OS)-$(ARCH))

0 comments on commit aa0dafe

Please sign in to comment.