diff --git a/CHANGELOG b/CHANGELOG index dd2f809..3f97e9c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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): diff --git a/appveyor.yml b/appveyor.yml index 48c10eb..5f89a41 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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: diff --git a/docs/changelog.rst b/docs/changelog.rst index 7940881..4c209c1 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,11 +1,11 @@ Changelog ========= -v0.6.1 ------- +v0.7 +---- -`Released May 16, 2021 `_ -(`changes `__): +Unreleased +(`changes `__): - Improved parsing of external links. (`#232 `_) @@ -13,6 +13,7 @@ v0.6.1 - 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 ---- diff --git a/scripts/release.sh b/scripts/release.sh index 48908ca..257b963 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -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." }