Skip to content

Commit

Permalink
fix makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ckalpakoglu committed Feb 23, 2021
1 parent 3d73fd6 commit 5176aaf
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 @@ -15,7 +15,7 @@ IMAGE_VERSION = $(shell echo $(VERSION)|cut -d "-" -f1)
export GO111MODULE=on

define hash
sha256sum $(1) > $(1).sha256
cd $(BUILD_DIR) && sha256sum $(1) > $(1).sha256
endef

default: help
Expand Down Expand Up @@ -45,4 +45,4 @@ $(PLATFORMS):
-tags prod \
-ldflags '-s -w -X main.Version=$(VERSION) -extldflags=-static' \
-o $(OUT)-$(OS)
$(call hash, $(OUT)-$(OS))
$(call hash, kdt-$(OS))

0 comments on commit 5176aaf

Please sign in to comment.