Browse Source

Version bump; cleanup [ci skip]

tags/v0.5.2
Ben Kurtovic 6 years ago
parent
commit
b354c56755
6 changed files with 20 additions and 9 deletions
  1. +5
    -1
      CHANGELOG
  2. +1
    -1
      README.rst
  3. +1
    -1
      appveyor.yml
  4. +9
    -1
      docs/changelog.rst
  5. +1
    -1
      mwparserfromhell/__init__.py
  6. +3
    -4
      scripts/release.sh

+ 5
- 1
CHANGELOG View File

@@ -1,4 +1,8 @@
v0.5.1 (released March 03, 2018):
v0.6 (unreleased):

- ...

v0.5.1 (released March 3, 2018):


- Improved behavior when adding parameters to templates (via Template.add()) - Improved behavior when adding parameters to templates (via Template.add())
with poorly formatted whitespace conventions. (#185) with poorly formatted whitespace conventions. (#185)


+ 1
- 1
README.rst View File

@@ -193,7 +193,7 @@ Python 3 code (via the API_)::
return mwparserfromhell.parse(text) return mwparserfromhell.parse(text)


.. _MediaWiki: http://mediawiki.org .. _MediaWiki: http://mediawiki.org
.. _ReadTheDocs: http://mwparserfromhell.readthedocs.org
.. _ReadTheDocs: http://mwparserfromhell.readthedocs.io
.. _Earwig: http://en.wikipedia.org/wiki/User:The_Earwig .. _Earwig: http://en.wikipedia.org/wiki/User:The_Earwig
.. _Σ: http://en.wikipedia.org/wiki/User:%CE%A3 .. _Σ: http://en.wikipedia.org/wiki/User:%CE%A3
.. _Legoktm: http://en.wikipedia.org/wiki/User:Legoktm .. _Legoktm: http://en.wikipedia.org/wiki/User:Legoktm


+ 1
- 1
appveyor.yml View File

@@ -1,6 +1,6 @@
# This config file is used by appveyor.com to build Windows release binaries # This config file is used by appveyor.com to build Windows release binaries


version: 0.5.1-b{build}
version: 0.6.dev0-b{build}


branches: branches:
only: only:


+ 9
- 1
docs/changelog.rst View File

@@ -1,10 +1,18 @@
Changelog Changelog
========= =========


v0.6
----

Unreleased
(`changes <https://github.com/earwig/mwparserfromhell/compare/v0.5.1...develop>`__):

- ...

v0.5.1 v0.5.1
------ ------


`Released March 03, 2018 <https://github.com/earwig/mwparserfromhell/tree/v0.5.1>`_
`Released March 3, 2018 <https://github.com/earwig/mwparserfromhell/tree/v0.5.1>`_
(`changes <https://github.com/earwig/mwparserfromhell/compare/v0.5...v0.5.1>`__): (`changes <https://github.com/earwig/mwparserfromhell/compare/v0.5...v0.5.1>`__):


- Improved behavior when adding parameters to templates (via - Improved behavior when adding parameters to templates (via


+ 1
- 1
mwparserfromhell/__init__.py View File

@@ -29,7 +29,7 @@ outrageously powerful parser for `MediaWiki <http://mediawiki.org>`_ wikicode.
__author__ = "Ben Kurtovic" __author__ = "Ben Kurtovic"
__copyright__ = "Copyright (C) 2012-2018 Ben Kurtovic" __copyright__ = "Copyright (C) 2012-2018 Ben Kurtovic"
__license__ = "MIT License" __license__ = "MIT License"
__version__ = "0.5.1"
__version__ = "0.6.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,


+ 3
- 4
scripts/release.sh View File

@@ -9,7 +9,7 @@ fi


VERSION=$1 VERSION=$1
SCRIPT_DIR=$(dirname "$0") SCRIPT_DIR=$(dirname "$0")
RELEASE_DATE=$(date +"%B %d, %Y")
RELEASE_DATE=$(date +"%B %-d, %Y")


check_git() { check_git() {
if [[ -n "$(git status --porcelain --untracked-files=no)" ]]; then if [[ -n "$(git status --porcelain --untracked-files=no)" ]]; then
@@ -76,9 +76,8 @@ do_git_stuff() {
} }


upload_to_pypi() { upload_to_pypi() {
echo -n "PyPI: uploading source tarball and docs..."
echo -n "PyPI: uploading source tarball..."
python setup.py -q register sdist upload -s python setup.py -q register sdist upload -s
python setup.py -q upload_docs
echo " done." echo " done."
} }


@@ -88,7 +87,7 @@ post_release() {
echo "*** Update: https://github.com/earwig/mwparserfromhell/releases/tag/v$VERSION" echo "*** Update: https://github.com/earwig/mwparserfromhell/releases/tag/v$VERSION"
echo "*** Verify: https://pypi.python.org/pypi/mwparserfromhell" echo "*** Verify: https://pypi.python.org/pypi/mwparserfromhell"
echo "*** Verify: https://ci.appveyor.com/project/earwig/mwparserfromhell" echo "*** Verify: https://ci.appveyor.com/project/earwig/mwparserfromhell"
echo "*** Verify: https://mwparserfromhell.readthedocs.org"
echo "*** Verify: https://mwparserfromhell.readthedocs.io"
echo "*** Press enter to sanity-check the release." echo "*** Press enter to sanity-check the release."
read read
} }


Loading…
Cancel
Save