There was an error while loading. Please reload this page.
2 parents f9635cf + 0ad4603 commit c4a1345Copy full SHA for c4a1345
1 file changed
scripts/upgrade
@@ -11,13 +11,14 @@ function printdiff {
11
git config user.email "<ci@camptocamp.com>"
12
git config user.name "Continuous integration"
13
VERSION=$1
14
-if [[ "${VERSION}" == "master" ]]; then
+VERSION_UPGRADE=$1
15
+if [[ "${VERSION_UPGRADE}" == "master" || "${VERSION_UPGRADE}" == "latest" ]]; then
16
VERSION=2.10
17
fi
-if [[ "${VERSION}" == "latest" ]]; then
18
- VERSION=2.9
+if [[ "${VERSION_UPGRADE}" == "latest" ]]; then
19
+ VERSION_UPGRADE=master
20
-./build --upgrade "$VERSION"
21
+./build --upgrade "$VERSION_UPGRADE"
22
23
if [ -e .UPGRADE6 ]; then
24
./upgrade "${VERSION}" 7
0 commit comments