From 0330601dce636428f689a316b6aa451558369e63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20M=C3=B3ricz?= Date: Fri, 22 Aug 2025 14:28:00 +0200 Subject: [PATCH] fix(ci/publish-python): publish for both packages --- .github/workflows/publish-python-sdk.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish-python-sdk.yml b/.github/workflows/publish-python-sdk.yml index d32414ccc..4341f5c19 100644 --- a/.github/workflows/publish-python-sdk.yml +++ b/.github/workflows/publish-python-sdk.yml @@ -35,18 +35,17 @@ jobs: VERSION_INCREMENTED=$(python .github/scripts/check_version_has_incremented.py python ./apps/python-sdk/firecrawl firecrawl-py) echo "VERSION_INCREMENTED=$VERSION_INCREMENTED" >> $GITHUB_ENV - - name: Build the package - if: ${{ env.VERSION_INCREMENTED == 'true' }} - run: | - python -m build - working-directory: ./apps/python-sdk - - - name: Publish to PyPI + - name: Build and publish to PyPI if: ${{ env.VERSION_INCREMENTED == 'true' }} env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | + python -m build + twine upload dist/* + sed -i 's/name = "firecrawl-py"/name = "firecrawl"/g' pyproject.toml + sed -i 's/name="firecrawl-py"/name="firecrawl"/g' setup.py + python -m build twine upload dist/* working-directory: ./apps/python-sdk