Skip to content

Commit dd61445

Browse files
committed
Update release script
1 parent c0d0e84 commit dd61445

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
v0.7.2 (unreleased):
2+
3+
- ...
4+
15
v0.7.1 (released June 30, 2025):
26

37
- Modernize packaging.

docs/changelog.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
Changelog
22
=========
33

4+
v0.7.2
5+
------
6+
7+
Unreleased
8+
(`changes <https://github.com/earwig/mwparserfromhell/compare/v0.7.1...main>`__):
9+
10+
- ...
11+
412
v0.7.1
513
------
614

scripts/release.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ post_release() {
6868
echo "*** Release completed."
6969
echo "*** Update: https://github.com/earwig/mwparserfromhell/releases/tag/v$VERSION"
7070
echo "*** Verify: https://pypi.org/project/mwparserfromhell"
71-
echo "*** Verify: https://ci.appveyor.com/project/earwig/mwparserfromhell"
71+
echo "*** Verify: https://github.com/earwig/mwparserfromhell/actions"
7272
echo "*** Verify: https://mwparserfromhell.readthedocs.io"
7373
echo "*** Press enter to sanity-check the release."
7474
read
@@ -100,6 +100,7 @@ test_release() {
100100
echo " done."
101101
fi
102102
pip -q uninstall -y mwparserfromhell
103+
deactivate
103104
echo -n "Downloading mwparserfromhell source tarball..."
104105
curl -sL "https://files.pythonhosted.org/packages/source/m/mwparserfromhell/mwparserfromhell-$VERSION.tar.gz" -o "mwparserfromhell.tar.gz"
105106
echo " done."
@@ -110,13 +111,11 @@ test_release() {
110111
uv run pytest
111112
if [[ "$?" != "0" ]]; then
112113
echo "*** ERROR: Unit tests failed!"
113-
deactivate
114114
cd ../..
115115
rm -rf $virtdir
116116
exit 1
117117
fi
118118
echo -n "Everything looks good. Cleaning up..."
119-
deactivate
120119
cd ../..
121120
rm -rf $virtdir
122121
echo " done."
@@ -129,7 +128,6 @@ check_git
129128
update_changelog
130129
update_docs_changelog
131130
do_git_stuff
132-
upload_to_pypi
133131
post_release
134132
test_release
135133

0 commit comments

Comments
 (0)