ISNSOURCE
This commit is contained in:
parent
b0dc318d6d
commit
8a10281949
3 changed files with 7 additions and 7 deletions
|
|
@ -15,8 +15,8 @@ BINTARGET=$(PRJNAME).dll
|
||||||
BINTARGETPATH=bin/$(CONFIGURATION)/$(FRAMEWORKALIAS)/$(BINTARGET)
|
BINTARGETPATH=bin/$(CONFIGURATION)/$(FRAMEWORKALIAS)/$(BINTARGET)
|
||||||
PKGFILENAME=$(PRJNAME).$(VERSION).nupkg
|
PKGFILENAME=$(PRJNAME).$(VERSION).nupkg
|
||||||
dnu=dnu
|
dnu=dnu
|
||||||
ifndef NUGETSOURCE
|
ifndef ISNSOURCE
|
||||||
NUGETSOURCE=$(HOME)/Nupkgs
|
ISNSOURCE=$(HOME)/Nupkgs
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# OBS SUBDIRS=Yavsc.Server Yavsc.Abstract Yavsc cli
|
# OBS SUBDIRS=Yavsc.Server Yavsc.Abstract Yavsc cli
|
||||||
|
|
@ -66,9 +66,9 @@ pack: $(BINTARGETPATH) ../../version.txt
|
||||||
@nuget pack $(PRJNAME).nuspec -Version $(VERSION) -Properties config=$(CONFIGURATION) -OutputDirectory bin
|
@nuget pack $(PRJNAME).nuspec -Version $(VERSION) -Properties config=$(CONFIGURATION) -OutputDirectory bin
|
||||||
|
|
||||||
push: pack
|
push: pack
|
||||||
@echo push to source: $(NUGETSOURCE)
|
@echo push to source: $(ISNSOURCE)
|
||||||
@nuget setApiKey $(NUGETSOURCEAPIKEY) -Source $(NUGETSOURCE)
|
@nuget setApiKey $(NUGETSOURCEAPIKEY) -Source $(ISNSOURCE)
|
||||||
@nuget push bin/$(PRJNAME).$(VERSION).nupkg -src $(NUGETSOURCE) -SkipDuplicate
|
@nuget push bin/$(PRJNAME).$(VERSION).nupkg -src $(ISNSOURCE) -SkipDuplicate
|
||||||
|
|
||||||
.PHONY: rc-num.txt-check
|
.PHONY: rc-num.txt-check
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,6 @@ VERSION=1.0.5-rc$(rc_num)
|
||||||
|
|
||||||
BINTARGET=$(PRJNAME).$(BINTYPE)
|
BINTARGET=$(PRJNAME).$(BINTYPE)
|
||||||
BINTARGETPATH=bin/$(CONFIGURATION)/$(BINTARGET)
|
BINTARGETPATH=bin/$(CONFIGURATION)/$(BINTARGET)
|
||||||
NUGETSOURCE=$(HOME)/Nupkgs
|
ISNSOURCE=$(HOME)/Nupkgs
|
||||||
PKGFILENAME=$(PRJNAME).$(VERSION).nupkg
|
PKGFILENAME=$(PRJNAME).$(VERSION).nupkg
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ PRJNAME := $(shell basename `pwd -P`)
|
||||||
endif
|
endif
|
||||||
version := $(shell cat ../../version.txt)
|
version := $(shell cat ../../version.txt)
|
||||||
MAKE=make
|
MAKE=make
|
||||||
NUGETSOURCE=$(HOME)/Nupkgs
|
ISNSOURCE=$(HOME)/Nupkgs
|
||||||
VERSION=$(version)
|
VERSION=$(version)
|
||||||
CONFIGURATION=Debug
|
CONFIGURATION=Debug
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue