]> scripts.mit.edu Git - wizard.git/blob - tests/prepare-upgrade.sh
Set admin e-mail address properly on MediaWiki >= 1.18.0
[wizard.git] / tests / prepare-upgrade.sh
1 #!/bin/bash
2 cd `dirname $0`
3 set -e
4
5 APP="$1"
6 VERSION="$2"
7
8 if [ -z "$VERSION" ]; then
9     echo "Usage: $0 APP VERSION"
10     echo
11     echo "For preparing a special test copy of an application with"
12     echo "Any new configuration changes."
13     echo
14     echo "See docs/upgrade.rst <http://scripts.mit.edu/wizard/upgrade.html>"
15     echo "for detailed usage instructions."
16     exit 1
17 fi
18
19 env WIZARD_NO_COMMIT=1 ./$APP-install-test.sh $VERSION
20 cd testdir_${APP}_install_${VERSION}
21 wizard prepare-config
22 echo "Diff:"
23 git diff