Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mayoor authored Jul 19, 2024
1 parent d5a6555 commit 8fa3082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ads/opctl/conda/pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8fa3082

Please sign in to comment.