From 7ea01d05fe31524430830b6049772f8efbf476ae Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Mon, 5 Apr 2021 03:41:10 +0100 Subject: [PATCH] git status -s --- scripts/make/dnx.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/make/dnx.mk b/scripts/make/dnx.mk index 1d442e5e..e9d0a261 100644 --- a/scripts/make/dnx.mk +++ b/scripts/make/dnx.mk @@ -67,7 +67,7 @@ $(NUGETSOURCE)/$(PKGFILENAME): $(BINTARGETPATH) ../../version.txt ifeq ($(git_status),0) nuget pack $(PRJNAME).nuspec -Version $(VERSION) -Properties config=$(CONFIGURATION) -OutputDirectory bin else - git status + $(error $(shell git status -s)) $(error Please, commit your changes before publishing your NuGet packages) endif