Browse Source

Version bump; update release script; update Travis

pull/219/head
Ben Kurtovic 6 months ago
parent
commit
9965709934
6 changed files with 19 additions and 5 deletions
  1. 2
    0
      .travis.yml
  2. 4
    0
      CHANGELOG
  3. 1
    1
      appveyor.yml
  4. 8
    0
      docs/changelog.rst
  5. 1
    1
      mwparserfromhell/__init__.py
  6. 3
    3
      scripts/release.sh

+ 2
- 0
.travis.yml View File

@@ -1,9 +1,11 @@
dist: xenial
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
- 3.7
- nightly
sudo: false
install:

+ 4
- 0
CHANGELOG View File

@@ -1,3 +1,7 @@
v0.6 (unreleased):

- ...

v0.5.4 (released May 15, 2019):

- Fixed an unlikely crash in the C tokenizer when interrupted while parsing

+ 1
- 1
appveyor.yml View File

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

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

branches:
only:

+ 8
- 0
docs/changelog.rst View File

@@ -1,6 +1,14 @@
Changelog
=========

v0.6
----

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

- ...

v0.5.4
------


+ 1
- 1
mwparserfromhell/__init__.py View File

@@ -29,7 +29,7 @@ outrageously powerful parser for `MediaWiki <http://mediawiki.org>`_ wikicode.
__author__ = "Ben Kurtovic"
__copyright__ = "Copyright (C) 2012-2019 Ben Kurtovic"
__license__ = "MIT License"
__version__ = "0.5.4"
__version__ = "0.6.dev0"
__email__ = "ben.kurtovic@gmail.com"

from . import (compat, definitions, nodes, parser, smart_list, string_mixin,

+ 3
- 3
scripts/release.sh View File

@@ -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!"

Loading…
Cancel
Save