From c70092f18a7e0f2150a0b4d7e548d3069d876f75 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Mon, 5 Apr 2021 04:03:58 +0100 Subject: [PATCH] make info --- scripts/make/dnx.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/make/dnx.mk b/scripts/make/dnx.mk index e9d0a261..38011629 100644 --- a/scripts/make/dnx.mk +++ b/scripts/make/dnx.mk @@ -63,12 +63,14 @@ bin/output/wwwroot/version: bin/output pack: $(NUGETSOURCE)/$(PKGFILENAME) +git_status_msg := $(shell git status -s) + $(NUGETSOURCE)/$(PKGFILENAME): $(BINTARGETPATH) ../../version.txt ifeq ($(git_status),0) nuget pack $(PRJNAME).nuspec -Version $(VERSION) -Properties config=$(CONFIGURATION) -OutputDirectory bin else - $(error $(shell git status -s)) - $(error Please, commit your changes before publishing your NuGet packages) + $(info $(git_status_msg)) + $(error Please, git_status: $(git_status), git_status_msg: $(git_status_msg), commit your changes before publishing your NuGet packages) endif deploy-pkg: pack