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)