Skip to content

stubber build: Incorrect package versions When specifying multiple versions to be build at the same time #487

@Josverl

Description

@Josverl

when using a compound cmdline such as stubber -v build --version v1.21.0 --version latest --version v1.20.0 --port auto --board auto

An incorrect incorrect version will be created such as :
publish/micropython-latest-esp32-esp32_generic-stubs/pyproject.toml

[tool.poetry]
name = "micropython-esp32-esp32_generic-stubs"
version = "1.21.0a1"

if runnning only stubber -v build --version latest --port auto --board auto the correct pre-release versions are generated such as :

[tool.poetry]
name = "micropython-esp32-esp32_generic-stubs"
version = "1.22.0a289"

Possible related code :

Metadata

Metadata

Assignees

Labels

Low-Priodo other things firstbugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions