Packaging and deployment¶
Packaging¶
This plugin is using the qgis-plugin-ci tool to perform packaging operations.
Under the hood, the package command is performing a git archive
run based on CHANGELOG.md
.
Use it like so:
# package a specific version
uvx --with-requirements requirements/packaging.txt qgis-plugin-ci package 1.3.1
# package latest version
uvx --with-requirements requirements/packaging.txt qgis-plugin-ci package latest
Release a version¶
Through git workflow:
- Add the new version to the
CHANGELOG.md
- Optionally change the version number in
metadata.txt
- Apply a git tag with the relevant version:
git tag -a X.y.z {git commit hash} -m "This version rocks!"
- Push tag to main branch:
git push origin X.y.z