Skip to content

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

@ismogis

Description

@ismogis

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions