Skip to content

Commit 66c72c1

Browse files
committed
hotfix for : #487
Signed-off-by: Jos Verlinde <jos_verlinde@hotmail.com>
1 parent 69fa468 commit 66c72c1

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/stubber/commands/build_cmd.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ def cli_build(
7272
ports = list(ports)
7373
boards = list(boards)
7474

75+
if len(versions) > 1 :
76+
raise NotImplementedError("Multiple versions are not supported yet\n See https://github.com/Josverl/micropython-stubber/issues/487")
77+
7578
# db = get_database(publish_path=CONFIG.publish_path, production=production)
7679
log.info(f"Build {family} {versions} {ports} {boards}")
7780

src/stubber/commands/publish_cmd.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ def cli_publish(
9696
ports = list(ports)
9797
boards = list(boards)
9898

99+
if len(versions) > 1:
100+
raise NotImplementedError(
101+
"Multiple versions are not supported yet\n See https://github.com/Josverl/micropython-stubber/issues/487"
102+
)
103+
99104
# db = get_database(publish_path=CONFIG.publish_path, production=production)
100105
destination = "pypi" if production else "test-pypi"
101106
log.info(f"Publish {family} {versions} {ports} {boards} to {destination}")

0 commit comments

Comments
 (0)