mirror of
https://github.com/semantica-agi/semantica.git
synced 2026-08-29 04:26:20 +00:00
1.6 KiB
1.6 KiB
Release Process for Semantica
This document outlines the steps to release a new version of the Semantica framework.
1. Versioning Policy
Semantica follows Semantic Versioning (SemVer).
- MAJOR version for incompatible API changes.
- MINOR version for functionality added in a backwards compatible manner.
- PATCH version for backwards compatible bug fixes.
2. Pre-release Checklist
Before releasing, ensure:
- All tests pass:
pytest - Documentation is up to date in
docs/andMkDocsconfig. CHANGELOG.mdis updated with the latest changes.- Version is updated in:
semantica/__init__.pypyproject.tomldocs/citation.md(BibTeX entry)
3. Release Steps
Automated Release (Recommended)
The project uses GitHub Actions for automated releases to PyPI.
- Tag the commit: Create a new git tag for the version (e.g.,
v0.1.1).git tag -a v0.1.1 -m "Release v0.1.1" git push origin v0.1.1 - GitHub Action: The
Releaseworkflow will automatically trigger, build the package, create a GitHub Release, and publish to PyPI using Trusted Publishing.
Manual Release
If you need to release manually:
- Build the package:
python -m build - Verify the build:
twine check dist/* - Upload to PyPI:
twine upload dist/*
4. Post-release
- Verify the new version is available on PyPI.
- Check the GitHub Releases page for the new release notes.