ソースを参照

Update release script

tags/v0.7.2
Ben Kurtovic 1年前
親
コミット
dd614455c2
3個のファイルの変更、14行の追加、4行の削除
  1. +4
    -0
      CHANGELOG
  2. +8
    -0
      docs/changelog.rst
  3. +2
    -4
      scripts/release.sh

+ 4
- 0
CHANGELOG ファイルの表示

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

- ...

v0.7.1 (released June 30, 2025):

- Modernize packaging.


+ 8
- 0
docs/changelog.rst ファイルの表示

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

v0.7.2
------

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

- ...

v0.7.1
------



+ 2
- 4
scripts/release.sh ファイルの表示

@@ -68,7 +68,7 @@ post_release() {
echo "*** Release completed."
echo "*** Update: https://github.com/earwig/mwparserfromhell/releases/tag/v$VERSION"
echo "*** Verify: https://pypi.org/project/mwparserfromhell"
echo "*** Verify: https://ci.appveyor.com/project/earwig/mwparserfromhell"
echo "*** Verify: https://github.com/earwig/mwparserfromhell/actions"
echo "*** Verify: https://mwparserfromhell.readthedocs.io"
echo "*** Press enter to sanity-check the release."
read
@@ -100,6 +100,7 @@ test_release() {
echo " done."
fi
pip -q uninstall -y mwparserfromhell
deactivate
echo -n "Downloading mwparserfromhell source tarball..."
curl -sL "https://files.pythonhosted.org/packages/source/m/mwparserfromhell/mwparserfromhell-$VERSION.tar.gz" -o "mwparserfromhell.tar.gz"
echo " done."
@@ -110,13 +111,11 @@ test_release() {
uv run pytest
if [[ "$?" != "0" ]]; then
echo "*** ERROR: Unit tests failed!"
deactivate
cd ../..
rm -rf $virtdir
exit 1
fi
echo -n "Everything looks good. Cleaning up..."
deactivate
cd ../..
rm -rf $virtdir
echo " done."
@@ -129,7 +128,6 @@ check_git
update_changelog
update_docs_changelog
do_git_stuff
upload_to_pypi
post_release
test_release



読み込み中…
キャンセル
保存