diff --git a/src/stubber/commands/build_cmd.py b/src/stubber/commands/build_cmd.py index c0d1d9cec..01dc4e472 100644 --- a/src/stubber/commands/build_cmd.py +++ b/src/stubber/commands/build_cmd.py @@ -72,6 +72,9 @@ def cli_build( ports = list(ports) boards = list(boards) + if len(versions) > 1 : + raise NotImplementedError("Multiple versions are not supported yet\n See https://github.com/Josverl/micropython-stubber/issues/487") + # db = get_database(publish_path=CONFIG.publish_path, production=production) log.info(f"Build {family} {versions} {ports} {boards}") diff --git a/src/stubber/commands/publish_cmd.py b/src/stubber/commands/publish_cmd.py index 58b8ce297..356f89238 100644 --- a/src/stubber/commands/publish_cmd.py +++ b/src/stubber/commands/publish_cmd.py @@ -96,6 +96,11 @@ def cli_publish( ports = list(ports) boards = list(boards) + if len(versions) > 1: + raise NotImplementedError( + "Multiple versions are not supported yet\n See https://github.com/Josverl/micropython-stubber/issues/487" + ) + # db = get_database(publish_path=CONFIG.publish_path, production=production) destination = "pypi" if production else "test-pypi" log.info(f"Publish {family} {versions} {ports} {boards} to {destination}")