Skip to content

Commit c4a1345

Browse files
authored
Merge pull request #1820 from camptocamp/revert-1818-fix-upgrade
Revert "Fix upgrade script"
2 parents f9635cf + 0ad4603 commit c4a1345

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

scripts/upgrade

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@ function printdiff {
1111
git config user.email "<ci@camptocamp.com>"
1212
git config user.name "Continuous integration"
1313
VERSION=$1
14-
if [[ "${VERSION}" == "master" ]]; then
14+
VERSION_UPGRADE=$1
15+
if [[ "${VERSION_UPGRADE}" == "master" || "${VERSION_UPGRADE}" == "latest" ]]; then
1516
VERSION=2.10
1617
fi
17-
if [[ "${VERSION}" == "latest" ]]; then
18-
VERSION=2.9
18+
if [[ "${VERSION_UPGRADE}" == "latest" ]]; then
19+
VERSION_UPGRADE=master
1920
fi
20-
./build --upgrade "$VERSION"
21+
./build --upgrade "$VERSION_UPGRADE"
2122

2223
if [ -e .UPGRADE6 ]; then
2324
./upgrade "${VERSION}" 7

0 commit comments

Comments
 (0)