skip git status
This commit is contained in:
parent
7de2bfc47f
commit
fa5d3c2a47
1 changed files with 0 additions and 5 deletions
|
|
@ -66,12 +66,7 @@ pack: $(NUGETSOURCE)/$(PKGFILENAME)
|
||||||
git_status_msg := $(shell git status -s)
|
git_status_msg := $(shell git status -s)
|
||||||
|
|
||||||
$(NUGETSOURCE)/$(PKGFILENAME): $(BINTARGETPATH) ../../version.txt
|
$(NUGETSOURCE)/$(PKGFILENAME): $(BINTARGETPATH) ../../version.txt
|
||||||
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
|
|
||||||
$(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
|
deploy-pkg: pack
|
||||||
@mv bin/$(PKGFILENAME) $(NUGETSOURCE)
|
@mv bin/$(PKGFILENAME) $(NUGETSOURCE)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue