Skip to content

Commit

Permalink
fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanrfrazier committed Oct 14, 2024
1 parent d55fbec commit e43be06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
uv run ./scripts/ci/update_pyproject_name.py langflow-nightly main
uv run ./scripts/ci/update_uv_dependency.py $BASE_TAG
uv lock --upgrade --no-sources
uv lock --upgrade
uv lock --upgrade --directory src/backend/base
git add pyproject.toml src/backend/base/pyproject.toml uv.lock src/backend/base/uv.lock
Expand Down
4 changes: 2 additions & 2 deletions scripts/ci/update_pyproject_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def update_uv_dep(pyproject_path: str, new_project_name: str) -> None:
pattern = re.compile(r"langflow = \{ workspace = true \}")
replacement = "langflow-nightly = { workspace = true }"
elif new_project_name == "langflow-base-nightly":
pattern = re.compile(r"langflow-base = \{ workspace = true \}")
replacement = "langflow-base-nightly = { workspace = true }"
pattern = re.compile(r"langflow-base = \{ path = \"src/backend/base\" \}")
replacement = "langflow-base-nightly = { path = \"src/backend/base\" }"
else:
raise ValueError(f"Invalid project name: {new_project_name}")

Expand Down

0 comments on commit e43be06

Please sign in to comment.