Release Process¶
Overview¶
This document outlines the step-by-step process for releasing new versions of Rivusio.
Prerequisites¶
- Write access to the main repository
- PyPI publishing rights
- Access to repository settings
Release Steps¶
- Version Update
- Update version in
pyproject.toml - Update
__version__insrc/rivusio/__init__.py -
Update
CHANGELOG.md -
Pre-release Checks
-
Create Release PR
- Branch name:
release/v{version} - Include all version updates
- Update documentation if needed
-
Maximum 2 commits
-
After PR Approval
- Merge to main
- Contact @zmastylo to enable
RELEASE_FLAG -
Verify CI/CD pipeline completion
-
Manual Release Steps
- Trigger publish workflow
- Verify PyPI package
- Check documentation updates
Versioning Guidelines¶
We follow Semantic Versioning:
- MAJOR version for incompatible API changes
- MINOR version for backwards-compatible features
- PATCH version for backwards-compatible fixes
Troubleshooting¶
Common Issues¶
- Failed PyPI Upload
- Check PyPI token validity
- Verify version number uniqueness
-
Review package structure
-
CI/CD Pipeline Failures
- Check test failures
- Verify environment variables
- Review workflow logs