Before, we used the same command for both installation and upgrades. This lead to problems because developers would try to upgrade in the wrong folder and end up creating a new installation. This new upgrade command validates the existence of an existing installation before proceeding with the upgrade to ensure no new installation is created when upgrading.
3 lines
No EOL
51 B
Bash
Executable file
3 lines
No EOL
51 B
Bash
Executable file
#!/bin/sh
|
|
|
|
php /usr/src/code/app/cli.php upgrade $@ |