@@ -1,4 +1,4 @@ | |||||
v0.4 (unreleased): | |||||
v0.4 (released May 23, 2015): | |||||
- The parser now falls back on pure Python mode if C extensions cannot be | - The parser now falls back on pure Python mode if C extensions cannot be | ||||
built. This fixes an issue that prevented some Windows users from installing | built. This fixes an issue that prevented some Windows users from installing | ||||
@@ -4,8 +4,8 @@ Changelog | |||||
v0.4 | v0.4 | ||||
---- | ---- | ||||
Unreleased | |||||
(`changes <https://github.com/earwig/mwparserfromhell/compare/v0.3.3...develop>`__): | |||||
`Released May 23, 2015 <https://github.com/earwig/mwparserfromhell/tree/v0.4>`_ | |||||
(`changes <https://github.com/earwig/mwparserfromhell/compare/v0.3.3...v0.4>`__): | |||||
- The parser now falls back on pure Python mode if C extensions cannot be | - The parser now falls back on pure Python mode if C extensions cannot be | ||||
built. This fixes an issue that prevented some Windows users from installing | built. This fixes an issue that prevented some Windows users from installing | ||||
@@ -29,7 +29,7 @@ outrageously powerful parser for `MediaWiki <http://mediawiki.org>`_ wikicode. | |||||
__author__ = "Ben Kurtovic" | __author__ = "Ben Kurtovic" | ||||
__copyright__ = "Copyright (C) 2012, 2013, 2014, 2015 Ben Kurtovic" | __copyright__ = "Copyright (C) 2012, 2013, 2014, 2015 Ben Kurtovic" | ||||
__license__ = "MIT License" | __license__ = "MIT License" | ||||
__version__ = "0.4" | |||||
__version__ = "0.4.1.dev0" | |||||
__email__ = "ben.kurtovic@gmail.com" | __email__ = "ben.kurtovic@gmail.com" | ||||
from . import (compat, definitions, nodes, parser, smart_list, string_mixin, | from . import (compat, definitions, nodes, parser, smart_list, string_mixin, | ||||
@@ -34,7 +34,7 @@ update_version() { | |||||
update_changelog() { | update_changelog() { | ||||
filename="CHANGELOG" | filename="CHANGELOG" | ||||
echo -n "Updating $filename..." | echo -n "Updating $filename..." | ||||
sed -e '1s/.*/v'$VERSION' (released '$RELEASE_DATE'):/' -i "" $filename | |||||
sed -e "1s/.*/v$VERSION (released $RELEASE_DATE):/" -i "" $filename | |||||
echo " done." | echo " done." | ||||
} | } | ||||
@@ -45,10 +45,10 @@ update_docs_changelog() { | |||||
previous_lineno=$(expr $(grep -n -e "^---" $filename | sed '2q;d' | cut -d ':' -f 1) - 1) | previous_lineno=$(expr $(grep -n -e "^---" $filename | sed '2q;d' | cut -d ':' -f 1) - 1) | ||||
previous_version=$(sed $previous_lineno'q;d' $filename) | previous_version=$(sed $previous_lineno'q;d' $filename) | ||||
sed \ | sed \ | ||||
-e '4s/.*/v'$VERSION \ | |||||
-e '5s/.*/'$dashes \ | |||||
-e '7s/.*/`Released '$RELEASE_DATE' <https:\/\/github.com\/earwig\/mwparserfromhell\/tree\/v'$VERSION'>`_/' \ | |||||
-e '8s/.*/(`changes <https:\/\/github.com\/earwig\/mwparserfromhell\/compare\/v'$previous_version'...v'$VERSION'>`__):/' \ | |||||
-e "4s/.*/v$VERSION/" \ | |||||
-e "5s/.*/$dashes/" \ | |||||
-e "7s/.*/\`Released $RELEASE_DATE <https:\/\/github.com\/earwig\/mwparserfromhell\/tree\/v$VERSION>\`_/" \ | |||||
-e "8s/.*/(\`changes <https:\/\/github.com\/earwig\/mwparserfromhell\/compare\/$previous_version...v$VERSION>\`__):/" \ | |||||
-i "" $filename | -i "" $filename | ||||
echo " done." | echo " done." | ||||
} | } | ||||