We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb4a9a4 commit f07bf91Copy full SHA for f07bf91
ads/opctl/conda/cmds.py
@@ -626,7 +626,8 @@ def _publish(
626
pack_script = os.path.join(os.path.dirname(os.path.abspath(__file__)), "pack.py")
627
if not skip_archive:
628
if is_in_notebook_session() or NO_CONTAINER:
629
- command = f"python {pack_script} --conda-path {pack_folder_path}"
+ # Set the CONDA_PUBLISH_TYPE environment variable so that the `type` attribute inside the manifest is not changed
630
+ command = f"CONDA_PUBLISH_TYPE={os.environ.get('CONDA_PUBLISH_TYPE','')} python {pack_script} --conda-path {pack_folder_path}"
631
run_command(command, shell=True)
632
else:
633
volumes = {
0 commit comments