Skip to content

Commit

Permalink
fix: pyroject for different packages in github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
utkarsh-dixit committed Mar 20, 2024
1 parent 51dd880 commit 1823f4a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ jobs:
pip install -e .
if [[ $GITHUB_REF == refs/tags/v* ]]; then
sed -i "s/version = '.*'/version = '${{ env.PACKAGE_VERSION }}'/" setup.py
sed -i "s/composio_core===.*/composio_core==='${{ env.PACKAGE_VERSION }}',/" pyproject.toml
sed -i "s/composio_core===.*/composio_core==='${{ env.PACKAGE_VERSION }}'/" requirements.txt
sed -i "s/composio_core===.*/composio_core===${{ env.PACKAGE_VERSION }},/" pyproject.toml
sed -i "s/composio_core===.*/composio_core===${{ env.PACKAGE_VERSION }}/" requirements.txt
echo "Updated version in pyproject.toml and requirements.txt"
fi
python setup.py sdist bdist_wheel
Expand All @@ -79,8 +79,8 @@ jobs:
cd crew_ai
if [[ $GITHUB_REF == refs/tags/v* ]]; then
sed -i "s/version = '.*'/version = '${{ env.PACKAGE_VERSION }}'/" setup.py
sed -i "s/composio_langchain===.*/composio_langchain==='${{ env.PACKAGE_VERSION }}',/" pyproject.toml
sed -i "s/composio_langchain===.*/composio_langchain==='${{ env.PACKAGE_VERSION }}'/" requirements.txt
sed -i "s/composio_langchain===.*/composio_langchain===${{ env.PACKAGE_VERSION }},/" pyproject.toml
sed -i "s/composio_langchain===.*/composio_langchain===${{ env.PACKAGE_VERSION }}/" requirements.txt
echo "Updated version in pyproject.toml and requirements.txt"
fi
python setup.py sdist bdist_wheel
Expand Down

0 comments on commit 1823f4a

Please sign in to comment.