Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ismogis opened this issue Jan 19, 2024 · 0 comments
Open

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

ismogis opened this issue Jan 19, 2024 · 0 comments

Comments

@ismogis
Copy link
Contributor

ismogis commented Jan 19, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant