make info
This commit is contained in:
parent
78da76cb7f
commit
7de2bfc47f
1 changed files with 4 additions and 2 deletions
|
|
@ -63,12 +63,14 @@ bin/output/wwwroot/version: bin/output
|
||||||
|
|
||||||
pack: $(NUGETSOURCE)/$(PKGFILENAME)
|
pack: $(NUGETSOURCE)/$(PKGFILENAME)
|
||||||
|
|
||||||
|
git_status_msg := $(shell git status -s)
|
||||||
|
|
||||||
$(NUGETSOURCE)/$(PKGFILENAME): $(BINTARGETPATH) ../../version.txt
|
$(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
|
||||||
$(error $(shell git status -s))
|
$(info $(git_status_msg))
|
||||||
$(error Please, commit your changes before publishing your NuGet packages)
|
$(error Please, git_status: $(git_status), git_status_msg: $(git_status_msg), commit your changes before publishing your NuGet packages)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
deploy-pkg: pack
|
deploy-pkg: pack
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue