Evennia 1.0.2 bugfix release

This commit is contained in:
Griatch 2022-12-21 17:10:54 +01:00
parent dfeb0a298d
commit 290475a9fe
8 changed files with 44 additions and 17 deletions

View file

@ -4,11 +4,12 @@ VERSION=$(cat evennia/VERSION.txt)
echo "This will release Evennia $VERSION (based on evennia/VERSION.txt)."
echo "Before continuing:"
echo " 1. Make sure you have Evennia upload credentials."
echo " 2. Determine if CHANGELOG.md should be updated and rebuilt."
echo " 3. Make sure VERSION.txt and pyproject.toml both show version $VERSION."
echo " 4. Make sure all changes are committed (all un-staged files will be wiped)."
echo " 5. Make sure all unit tests pass."
echo " 1. Make sure you have Evennia upload credentials for Github (tagging) and PyPi (main package)."
echo " 2. Update CHANGELOG.md."
echo " 3. Run 'make local' in docs/ to update dynamic docs and autodocstrings (may have to run twice)."
echo " 4. Make sure VERSION.txt and pyproject.toml both show version $VERSION."
echo " 5. Make sure all changes are committed, e.g. as 'Evennia 1.x.x bug-fix release' (un-staged files will be wiped)."
echo " 6. Make sure all unit tests pass!"
read -p "Continue? [Y/n]> " yn
@ -26,12 +27,12 @@ pip install --upgrade pip
pip install build twine
python -m build --sdist --wheel --outdir dist/ .
echo "Uploading PyPi package (requires credentials) ..."
echo "Uploading PyPi package (requires PyPi credentials) ..."
python -m twine upload dist/*
# tag the latest git commit
echo "Creating and pushing release tag tag v$VERSION ..."
echo "Creating and pushing release tag tag v$VERSION (requires GitHub credentials)..."
git tag -a v$VERSION -m "Evennia release v$VERSION"
git push --tags