Before each delivering of a new version, we increase the version in /PreCourlis/metadata.txt
using standard semantic versionning.
Example:
version=2.1-alpha10
Packaging
make package
This will create an archive of the plugin in dist/PreCourlis.zip
Test the package archive
make deploy
This will update the Zip archive (package) and extract files in your home QGIS Python plugins folder.
With this you can test the packaged Zip archive contains all required files.
Publish the package on Camptocamp development plugins repository
This is used during the development phase to share development versions of the Plugin.
This operation require right to write on qgis.camptocamp.net
make -f c2c.mk upload
This will upload files:
- https://qgis.camptocamp.net/plugins/edf/plugins.xml
- https://qgis.camptocamp.net/plugins/edf/PreCourlis.zip
Test the plugin with QGIS on Windows
As we use Linux for development, we are used to test the plugin using two last LTR versions of QGIS on Windows before delivering a new version in QGIS official plugins repository.
In QGIS plugins manager, in settings, add new plugins repository: https://qgis.camptocamp.net/plugins/edf/plugins.xml
Then install the new version and test everything works as expected, including functionalities which depend on external Python packages:
- Profiles dialog witch use matplotlib
- Interpolation which use TatooineMesher
Publish the package on QGIS official plugins repository
- Authenticate on QGIS plugins: https://plugins.qgis.org/accounts/login/
- Go to PreCourlis manage page: https://plugins.qgis.org/plugins/PreCourlis/#plugin-manage
- Click on add version and upload the file: /dist/PreCourlis.zip
After saving the new version, it will require an approbation from the QGIS plugins adminstrators before the new version becomes available for users.