git status failed before pack

vnext
Paul Schneider 4 years ago
parent e36e3f4bdd
commit 68b6bd45d8
1 changed files with 1 additions and 0 deletions

@ -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

Loading…