vers une incrémentation d'un numéro de candidat à la production

This commit is contained in:
2018-04-27 15:05:18 +02:00
parent 9d95953bea
commit e9024ed9b6
4 changed files with 23 additions and 4 deletions

View File

@ -1,16 +1,26 @@
MAKE=make
SUBDIRS=Yavsc.Abstract Yavsc cli
VERSION=1.0.5-rc12
git_status := $(shell git status -s --porcelain |wc -l)
rc_num := $(shell cat rc-num.txt)
VERSION=1.0.5-rc$(rc_num)
all: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@ VERSION=$(VERSION)
deploy-pkgs:
Yavsc.Abstract-deploy:
$(MAKE) -C Yavsc.Abstract deploy-pkg VERSION=$(VERSION)
Yavsc.Abstract-deploy: Yavsc
$(MAKE) -C Yavsc deploy-pkg VERSION=$(VERSION)
Yavsc: Yavsc.Abstract-deploy
make -C Yavsc restore
cli: Yavsc
.PHONY: all $(SUBDIRS)

View File

@ -17,7 +17,7 @@ NUGETSOURCE=$(HOME)/Nupkgs/
all: $(BINTARGETPATH)
$(BINTARGETPATH):
$(BINTARGETPATH):
dnu build
deploy: clean pushInPre pushInProd
@ -34,6 +34,10 @@ endif
default: pushInPre
restore:
touch project.json
dnu restore
project.lock.json: project.json
dnu restore
@ -96,4 +100,3 @@ deploy-pkg: $(PACKAGE)
.PHONY: $(PACKAGE) $(BINTARGETPATH)

View File

@ -5,6 +5,11 @@ all: build
build: project.lock.json
dnu build
restore:
touch project.json
dnu restore
project.lock.json: project.json
dnu restore

1
rc-num.txt Normal file
View File

@ -0,0 +1 @@
13