From 3b961bf82234207ecbe1659e47885b077bb076f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Wed, 30 Mar 2016 10:44:57 +0200 Subject: [PATCH] Add a rule to upgrade to the v2 --- c2cgeoportal/scaffolds/update/CONST_Makefile_tmpl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/c2cgeoportal/scaffolds/update/CONST_Makefile_tmpl b/c2cgeoportal/scaffolds/update/CONST_Makefile_tmpl index 25f18e3180..1ebafb01f8 100644 --- a/c2cgeoportal/scaffolds/update/CONST_Makefile_tmpl +++ b/c2cgeoportal/scaffolds/update/CONST_Makefile_tmpl @@ -798,6 +798,11 @@ upgrade: .build/requirements.timestamp project.yaml c2cgeoportal==${VERSION} $(VENV_BIN)/c2ctool upgrade $(UPGRADE_MAKE_FILE) ${UPGRADE_ARGS} ${VERSION} +.PHONY: upgrade_v2 +upgrade_v2: .build/requirements.timestamp project.yaml + .build/venv/bin/pip install c2cgeoportal==${VERSION} + $(VENV_BIN)/c2ctool upgrade $(UPGRADE_MAKE_FILE) ${UPGRADE_ARGS} ${VERSION} + .PHONY: upgrade1 upgrade1: .build/requirements.timestamp project.yaml $(VENV_BIN)/c2ctool upgrade $(UPGRADE_MAKE_FILE) ${UPGRADE_ARGS} ${VERSION} --step 1