This is an automated email from the ASF dual-hosted git repository.

mehrdadh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new 7f1b819cdb [microTVM] Remove microTVM RVM version suffix (#11629)
7f1b819cdb is described below

commit 7f1b819cdbc70fabaabe9374932e98a3c4bc4660
Author: Gavin Uberti <[email protected]>
AuthorDate: Thu Jun 9 11:17:09 2022 -0600

    [microTVM] Remove microTVM RVM version suffix (#11629)
---
 apps/microtvm/reference-vm/base-box-tool.py | 16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/apps/microtvm/reference-vm/base-box-tool.py 
b/apps/microtvm/reference-vm/base-box-tool.py
index a4777c3ff8..db89f32332 100755
--- a/apps/microtvm/reference-vm/base-box-tool.py
+++ b/apps/microtvm/reference-vm/base-box-tool.py
@@ -479,7 +479,7 @@ def release_command(args):
     if args.release_full_name:
         vm_name = args.release_full_name
     else:
-        vm_name = f"tlcpack/microtvm-{args.platform}-{args.platform_version}"
+        vm_name = f"tlcpack/microtvm-{args.platform}"
 
     if not args.skip_creating_release_version:
         subprocess.check_call(
@@ -604,14 +604,6 @@ def parse_args():
         action="store_true",
         help="Skip creating the version and just upload for this provider.",
     )
-    parser_release.add_argument(
-        "--platform-version",
-        required=False,
-        help=(
-            "For Zephyr, the platform version to release, in the form 'x.y'. "
-            "For Arduino, the version of arduino-cli that's being used, in the 
form 'x.y.z'."
-        ),
-    )
     parser_release.add_argument(
         "--release-full-name",
         required=False,
@@ -619,15 +611,11 @@ def parse_args():
         default=None,
         help=(
             "If set, it will use this as the full release name and version for 
the box. "
-            "If this set, it will ignore `--platform-version` and 
`--release-version`."
+            "If this set, it will ignore `--release-version`."
         ),
     )
 
     args = parser.parse_args()
-
-    if args.action == "release" and not args.release_full_name:
-        parser.error("--platform-version is requireed.")
-
     return args
 
 

Reply via email to