Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions cli/marketplace/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def update_or_create_item(
# Copy source directories to target directories, if target already has the directory, archive previous version
item_yaml = yaml.full_load(open(item_dir / "item.yaml", "r"))
source_version = item_yaml["version"]
relative_path = "../../"
relative_path = "../../../"

marketplace_item = marketplace_dir / item_dir.stem
target_latest = marketplace_item / "latest"
Expand Down Expand Up @@ -469,13 +469,13 @@ def update_or_create_item(
with open(asset_yaml_path, "r") as f:
source_code = f.read()
render_jinja(
templates / "python.html",
latest_static / "source.html",
templates / "yaml.html",
latest_static / f"{asset_name}.html",
{"source_code": source_code},
)
render_jinja(
templates / "python.html",
version_static / "source.html",
templates / "yaml.html",
version_static / f"{asset_name}.html",
{"source_code": source_code},
)
ASSETS[asset_name] = f"src/{asset_name}.yaml"
Expand Down
2 changes: 1 addition & 1 deletion functions/src/text_to_audio_generator/item.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ spec:
- pydub
url: ''
version: 1.3.0
test_valid: True
test_valid: False