From 5176aafc93026e7ad0092e446e987c91634750b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cenk=20Kalpako=C4=9Flu?= Date: Tue, 23 Feb 2021 12:26:36 +0300 Subject: [PATCH] fix makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d35859b..24360b4 100644 --- a/Makefile +++ b/Makefile @@ -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 @@ -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))