GispoCoding / NLSgpkgloader

QGIS3 plugin to download Maastotietokanta (MTK) data from the Finnish NLS and write it to a GeoPackage. Developed by Gispo Ltd.
GNU General Public License v3.0
12 stars 1 forks source link

Pre release failing because of the release version 'dev' #38

Open ismogis opened 9 months ago

ismogis commented 9 months ago

The pre release workflow fails in deploying the plugin because of the release version named as 'dev'.

Run qgis-plugin-ci release dev --github-token *** --disable-submodule-update
WARNING:root:Be aware that 'dev' is not a semver-compliant version. It might still comply with acceptable practices.
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.8.18/x64/bin/qgis-plugin-ci", line 8, in <module>
    sys.exit(cli())
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/qgispluginci/cli.py", line 161, in cli
    Parameters.validate_args(args)
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/qgispluginci/parameters.py", line 278, in validate_args
    raise ValueError(
ValueError: 
            Unable to validate the release version 'dev'.
            Please use a release version identifier such as '1.0.1' (recommended, semantic versioning), 'v1.1.1', 'v1.1', or '1.1'.
            Otherwise you can disable validation by running this command again with an extra '--no-validation' flag.
            Semantic versioning (semvar) identifiers are recommended.
            Take a look at https://en.wikipedia.org/wiki/Software_versioning#Semantic_versioning for a refresher."

The validation could be bypassed using the flag "--no-validation". Or then the version could be 'latest' instead of 'dev'.

@LKajan?