Skip to content

Commit 95209b9

Browse files
committed
Fix release error
1 parent 5166515 commit 95209b9

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

CHANGELOG

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
v0.6.1 (released May 16, 2021):
1+
v0.7 (unreleased):
22

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

89
v0.6 (released December 21, 2020):
910

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This config file is used by appveyor.com to build Windows release binaries
22

3-
version: 0.6.1-b{build}
3+
version: 0.7.dev0-b{build}
44

55
branches:
66
only:

docs/changelog.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
Changelog
22
=========
33

4-
v0.6.1
5-
------
4+
v0.7
5+
----
66

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

1010
- Improved parsing of external links.
1111
(`#232 <https://github.com/earwig/mwparserfromhell/issues/232>`_)
1212
- Fixed parsing of nested wikilinks.
1313
- Ported tests to pytest.
1414
(`#237 <https://github.com/earwig/mwparserfromhell/issues/237>`_)
1515
- Moved mwparserfromhell package to src/ dir.
16+
- There was no 0.6.1 release due to a packaging error.
1617

1718
v0.6
1819
----

scripts/release.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ if [[ -z "$1" ]]; then
55
exit 1
66
fi
77

8+
set -euo pipefail
9+
810
VERSION=$1
911
SCRIPT_DIR=$(dirname "$0")
1012
RELEASE_DATE=$(date +"%B %-d, %Y")
@@ -27,7 +29,7 @@ check_git() {
2729

2830
update_version() {
2931
echo -n "Updating mwparserfromhell.__version__..."
30-
sed -e 's/__version__ = .*/__version__ = "'$VERSION'"/' -i "" mwparserfromhell/__init__.py
32+
sed -e 's/__version__ = .*/__version__ = "'$VERSION'"/' -i "" src/mwparserfromhell/__init__.py
3133
echo " done."
3234
}
3335

0 commit comments

Comments
 (0)