diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index cc206813546..b6e91c23d30 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 @@ -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