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 6cedf29 commit c191782Copy full SHA for c191782
ads/opctl/conda/pack.py
@@ -20,7 +20,6 @@
20
21
22
def main(pack_folder_path, manifest_file=None):
23
- slug = os.path.basename(pack_folder_path)
24
manifest_path = (
25
manifest_file or glob.glob(os.path.join(pack_folder_path, "*_manifest.yaml"))[0]
26
)
@@ -47,6 +46,7 @@ def main(pack_folder_path, manifest_file=None):
47
46
raise e
48
49
manifest = env["manifest"]
+ slug = manifest.get("slug", os.path.basename(pack_folder_path))
50
if not "type" in manifest:
51
manifest["type"] = "published"
52
new_env_info["manifest"] = manifest
0 commit comments