Browse Source

Fix release error

tags/v0.6.2
Ben Kurtovic 2 years ago
parent
commit
95209b9c21
4 changed files with 11 additions and 6 deletions
  1. +2
    -1
      CHANGELOG
  2. +1
    -1
      appveyor.yml
  3. +5
    -3
      docs/changelog.rst
  4. +3
    -1
      scripts/release.sh

+ 2
- 1
CHANGELOG View File

@@ -1,9 +1,10 @@
v0.6.1 (released May 16, 2021):
v0.7 (unreleased):

- Improved parsing of external links. (#232)
- Fixed parsing of nested wikilinks.
- Ported tests to pytest. (#237)
- Moved mwparserfromhell package to src/ dir.
- There was no 0.6.1 release due to a packaging error.

v0.6 (released December 21, 2020):



+ 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.6.1-b{build}
version: 0.7.dev0-b{build}

branches:
only:


+ 5
- 3
docs/changelog.rst View File

@@ -1,11 +1,11 @@
Changelog
=========

v0.6.1
v0.7
----

`Released May 16, 2021 <https://github.com/earwig/mwparserfromhell/tree/v0.6.1>`_
(`changes <https://github.com/earwig/mwparserfromhell/compare/v0.6...v0.6.1>`__):
Unreleased
(`changes <https://github.com/earwig/mwparserfromhell/compare/v0.6...develop>`__):

- Improved parsing of external links.
(`#232 <https://github.com/earwig/mwparserfromhell/issues/232>`_)
@@ -13,6 +13,7 @@ v0.6.1
- Ported tests to pytest.
(`#237 <https://github.com/earwig/mwparserfromhell/issues/237>`_)
- Moved mwparserfromhell package to src/ dir.
- There was no 0.6.1 release due to a packaging error.

v0.6
----


+ 3
- 1
scripts/release.sh View File

@@ -5,6 +5,8 @@ if [[ -z "$1" ]]; then
exit 1
fi

set -euo pipefail

VERSION=$1
SCRIPT_DIR=$(dirname "$0")
RELEASE_DATE=$(date +"%B %-d, %Y")
@@ -27,7 +29,7 @@ check_git() {

update_version() {
echo -n "Updating mwparserfromhell.__version__..."
sed -e 's/__version__ = .*/__version__ = "'$VERSION'"/' -i "" mwparserfromhell/__init__.py
sed -e 's/__version__ = .*/__version__ = "'$VERSION'"/' -i "" src/mwparserfromhell/__init__.py
echo " done."
}



Loading…
Cancel
Save