Versioning And Releases
PrimaDB uses lockstep versioning across:
- Cargo.toml
- packages/primadb/package.json
- packages/primadb-node/package.json
- packages/primadb-python/pyproject.toml
Cargo.toml is the source of truth.
Version Sync Script
cd /home/bitnom/Code/gunport/primadb
node ./scripts/version-sync.mjs check
node ./scripts/version-sync.mjs sync
node ./scripts/version-sync.mjs set 0.1.1
node ./scripts/cut-release.mjs 0.1.1
cut-release.mjs creates the release commit and matching annotated v*.*.* tag locally. Push the
result with:
git push --follow-tags origin master
GitHub Automation
Current GitHub Actions cover:
- version drift checking
- tagged release validation
- GitHub release creation
- release asset attachment
The release workflow creates GitHub release artifacts but does not publish to crates.io, npm, or PyPI.