|
|
@@ -84,7 +84,7 @@ post_release() { |
|
|
|
echo |
|
|
|
echo "*** Release completed." |
|
|
|
echo "*** Update: https://github.com/earwig/mwparserfromhell/releases/tag/v$VERSION" |
|
|
|
echo "*** Verify: https://pypi.python.org/pypi/mwparserfromhell" |
|
|
|
echo "*** Verify: https://pypi.org/project/mwparserfromhell" |
|
|
|
echo "*** Verify: https://ci.appveyor.com/project/earwig/mwparserfromhell" |
|
|
|
echo "*** Verify: https://mwparserfromhell.readthedocs.io" |
|
|
|
echo "*** Press enter to sanity-check the release." |
|
|
@@ -96,7 +96,7 @@ test_release() { |
|
|
|
echo "Checking mwparserfromhell v$VERSION..." |
|
|
|
echo -n "Creating a virtualenv..." |
|
|
|
virtdir="mwparser-test-env" |
|
|
|
virtualenv -q $virtdir |
|
|
|
python -m venv $virtdir |
|
|
|
cd $virtdir |
|
|
|
source bin/activate |
|
|
|
echo " done." |
|
|
@@ -104,7 +104,7 @@ test_release() { |
|
|
|
pip -q install mwparserfromhell |
|
|
|
echo " done." |
|
|
|
echo -n "Checking version..." |
|
|
|
reported_version=$(python -c 'print __import__("mwparserfromhell").__version__') |
|
|
|
reported_version=$(python -c 'print(__import__("mwparserfromhell").__version__)') |
|
|
|
if [[ "$reported_version" != "$VERSION" ]]; then |
|
|
|
echo " error." |
|
|
|
echo "*** ERROR: mwparserfromhell is reporting its version as $reported_version, not $VERSION!" |
|
|
|