From 8fa30828bd462f9288dc96b31b95490f05760dc7 Mon Sep 17 00:00:00 2001 From: Mayoor Rao Date: Fri, 19 Jul 2024 12:16:19 -0700 Subject: [PATCH] Fixes --- ads/opctl/conda/pack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ads/opctl/conda/pack.py b/ads/opctl/conda/pack.py index 36060c4d3..f6d5bc8ba 100644 --- a/ads/opctl/conda/pack.py +++ b/ads/opctl/conda/pack.py @@ -47,7 +47,7 @@ def main(pack_folder_path, manifest_file=None): manifest = env["manifest"] slug = manifest.get("slug", os.path.basename(pack_folder_path)) - if not "type" in manifest: + if os.environ.get("CONDA_PUBLISH_TYPE") != "service": manifest["type"] = "published" new_env_info["manifest"] = manifest with open(manifest_path, "w") as f: