Skip to content

Commit

Permalink
fix arg order
Browse files Browse the repository at this point in the history
  • Loading branch information
phact committed Oct 25, 2024
1 parent a94712d commit f5ce551
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/ci/update_pyproject_combined.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ def main():
# Update base package
update_pyproject_name("src/backend/base/pyproject.toml", "langflow-base-nightly")
update_name_uv_dep("pyproject.toml", "langflow-base-nightly")
# Update version in base pyproject.toml
update_pyproject_version(base_tag, "src/backend/base/pyproject.toml")
# Update version in base pyproject.toml - fixed argument order
update_pyproject_version("src/backend/base/pyproject.toml", base_tag)

elif mode == "main":
if len(sys.argv) != 4:
Expand All @@ -49,8 +49,8 @@ def main():
# Update main package
update_pyproject_name("pyproject.toml", "langflow-nightly")
update_name_uv_dep("pyproject.toml", "langflow-nightly")
# Update version in main pyproject.toml
update_pyproject_version(main_tag, "pyproject.toml")
# Update version in main pyproject.toml - fixed argument order
update_pyproject_version("pyproject.toml", main_tag)
# Update dependency version (strip 'v' prefix if present)
base_version = base_tag.lstrip("v")
update_version_uv_dep(base_version)
Expand Down

0 comments on commit f5ce551

Please sign in to comment.