git status failed before pack
This commit is contained in:
parent
a4cfd1fa9a
commit
37d709ea83
1 changed files with 1 additions and 0 deletions
|
|
@ -67,6 +67,7 @@ $(NUGETSOURCE)/$(PKGFILENAME): $(BINTARGETPATH) ../../version.txt
|
||||||
ifeq ($(git_status),0)
|
ifeq ($(git_status),0)
|
||||||
nuget pack $(PRJNAME).nuspec -Version $(VERSION) -Properties config=$(CONFIGURATION) -OutputDirectory bin
|
nuget pack $(PRJNAME).nuspec -Version $(VERSION) -Properties config=$(CONFIGURATION) -OutputDirectory bin
|
||||||
else
|
else
|
||||||
|
git status
|
||||||
$(error Please, commit your changes before publishing your NuGet packages)
|
$(error Please, commit your changes before publishing your NuGet packages)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue