I copied the issue template I created for eTraGo releases and added some additional points to consider when releasing eGo.
After completing this checklist and workflow and publishing the final release, please finalize Issue #200 so that it can serve as the basis for future releases.
name: Release
about: Checklist and workflow for preparing and publishing a new release
title: "[Release] v0.4.0"
labels: release
Overview
This issue tracks the full release process, from milestone creation to publishing on PyPI. Use the checklists below and check off items as they are completed.
1. Road to Release
Initial setup and issue tracking for the upcoming release.
Specific Focus: Compatibility with eTraGo and eDisGo
2. Shortly Before Release
Final checks and testing before cutting the release branch.
Create release branch
3. Merge Branches
Merging the release branch through to production.
4. GitHub Release
Creating the official GitHub release.
5. Publish to PyPI
For the next steps, you need the appropriate permissions for etrago on both TestPyPI and PyPI.
All steps performed inside venv-release.
TestPyPI upload
PyPI upload
Reference
I copied the issue template I created for eTraGo releases and added some additional points to consider when releasing eGo.
After completing this checklist and workflow and publishing the final release, please finalize Issue #200 so that it can serve as the basis for future releases.
name: Release
about: Checklist and workflow for preparing and publishing a new release
title: "[Release] v0.4.0"
labels: release
Overview
This issue tracks the full release process, from milestone creation to publishing on PyPI. Use the checklists below and check off items as they are completed.
1. Road to Release
Initial setup and issue tracking for the upcoming release.
Specific Focus: Compatibility with eTraGo and eDisGo
2. Shortly Before Release
Final checks and testing before cutting the release branch.
Create release branch
doc/conf.pysetup.py__init__.py3. Merge Branches
Merging the release branch through to production.
venv-releaseand activate it, use it for the further processdevmasterdevintomaster(locally) and push4. GitHub Release
Creating the official GitHub release.
mastergit fetchafterward to fetch the new tag5. Publish to PyPI
For the next steps, you need the appropriate permissions for etrago on both TestPyPI and PyPI.
All steps performed inside
venv-release.Upgrade build tools:
Build the package:
Check built files:
Ensure TestPyPI and PyPI tokens are available (see
.pypirc)TestPyPI upload
Upload to TestPyPI:
Test installation from TestPyPI:
PyPI upload
Upload to PyPI:
Reference