git status failed before pack

This commit is contained in:
Paul Schneider
2021-04-05 03:34:04 +01:00
parent e36e3f4bdd
commit 68b6bd45d8

View File

@ -67,6 +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 Please, commit your changes before publishing your NuGet packages)
endif