Packaging and deployment¶
Packaging¶
This plugin is using the python-poetry tool to perform packaging operations.
Under the hood, the package command is performing a git archive run based on CHANGELOG.md and git tags.
New releases are published from main branch
Release a version¶
Through git workflow:
Add the new version to the
CHANGELOG.mdChange the version number in
pyproject.tomlandgn2pg/metadata.pyApply changes
git commit -m 'update version X.y.z'Apply a git tag with the relevant version:
git tag X.y.zPush tag to
mainbranch:git push --tags