bump
This commit is contained in:
parent
1dd6792608
commit
982c65951e
4 changed files with 7 additions and 10 deletions
|
|
@ -60,8 +60,9 @@ deploy_staging:
|
||||||
script:
|
script:
|
||||||
- echo "Deploy to staging server"
|
- echo "Deploy to staging server"
|
||||||
- make strip_yavscd
|
- make strip_yavscd
|
||||||
|
- make packages
|
||||||
- cd src/Yavsc.Abstract
|
- cd src/Yavsc.Abstract
|
||||||
- make push ISNSOURCE=$ISNSOURCE NUGETSOURCEAPIKEY=$NUGETSOURCEAPIKEY
|
- isn push -s $ISNSOURCE -k $NUGETSOURCEAPIKEY *.nupkg
|
||||||
environment:
|
environment:
|
||||||
name: staging
|
name: staging
|
||||||
url: https://yavscpre.pschneider.fr
|
url: https://yavscpre.pschneider.fr
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,6 @@ 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 ISNSOURCE
|
|
||||||
ISNSOURCE=$(HOME)/Nupkgs
|
|
||||||
endif
|
|
||||||
|
|
||||||
# OBS SUBDIRS=Yavsc.Server Yavsc.Abstract Yavsc cli
|
# OBS SUBDIRS=Yavsc.Server Yavsc.Abstract Yavsc cli
|
||||||
#
|
#
|
||||||
|
|
@ -57,18 +54,17 @@ $(BINTARGETPATH): project.lock.json rc-num.txt-check
|
||||||
# Default target, from one level sub dirs
|
# Default target, from one level sub dirs
|
||||||
|
|
||||||
bin/output:
|
bin/output:
|
||||||
@$(dnu) publish
|
$(dnu) publish
|
||||||
|
|
||||||
bin/output/wwwroot/version: bin/output
|
bin/output/wwwroot/version: bin/output
|
||||||
@echo $(version) > bin/output/wwwroot/version
|
@echo $(version) > bin/output/wwwroot/version
|
||||||
|
|
||||||
pack: $(BINTARGETPATH) ../../version.txt
|
pack: $(BINTARGETPATH) ../../version.txt
|
||||||
@nuget pack $(PRJNAME).nuspec -Version $(VERSION) -Properties config=$(CONFIGURATION) -OutputDirectory bin
|
dnu pack --configuration $(CONFIGURATION)
|
||||||
|
|
||||||
push: pack
|
push: pack
|
||||||
@echo push to source: $(ISNSOURCE)
|
@echo push to source: $(ISNSOURCE)
|
||||||
@nuget setApiKey $(NUGETSOURCEAPIKEY) -Source $(ISNSOURCE)
|
isn push -s $(ISNSOURCE) -k $(NUGETSOURCEAPIKEY) src/$(PRJNAME)/bin/$(CONFIGURATION)/$(PRJNAME).*.nupkg
|
||||||
@nuget push bin/$(PRJNAME).$(VERSION).nupkg -src $(ISNSOURCE) -SkipDuplicate
|
|
||||||
|
|
||||||
.PHONY: rc-num.txt-check
|
.PHONY: rc-num.txt-check
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"version": "1.0.6-*",
|
"version": "1.0.7-*",
|
||||||
"title": "Yavsc - l'abstrait",
|
"title": "Yavsc - l'abstrait",
|
||||||
"description": "Yavsc common objects",
|
"description": "Yavsc common objects",
|
||||||
"authors": [
|
"authors": [
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
1.0.6-rc19
|
1.0.7
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue