Skip to content

Commit 8fa3082

Browse files
authored
Fixes
1 parent d5a6555 commit 8fa3082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ads/opctl/conda/pack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def main(pack_folder_path, manifest_file=None):
4747

4848
manifest = env["manifest"]
4949
slug = manifest.get("slug", os.path.basename(pack_folder_path))
50-
if not "type" in manifest:
50+
if os.environ.get("CONDA_PUBLISH_TYPE") != "service":
5151
manifest["type"] = "published"
5252
new_env_info["manifest"] = manifest
5353
with open(manifest_path, "w") as f:

0 commit comments

Comments
 (0)