From ff2365b146474bb18513a2c2fd8aea9a98108e35 Mon Sep 17 00:00:00 2001 From: Zhichang Yu Date: Thu, 30 Oct 2025 21:08:00 +0800 Subject: [PATCH] Replaced twine with uv --- .github/workflows/release.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c34945aff..bfb9dc144 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -78,14 +78,12 @@ jobs: - name: Build and push ragflow-sdk if: startsWith(github.ref, 'refs/tags/v') run: | - cd sdk/python && uv build - twine upload sdk/python/dist/* -u __token__ -p ${{ secrets.PYPI_API_TOKEN }} + cd sdk/python && uv build && uv publish --token ${{ secrets.PYPI_API_TOKEN }} - name: Build and push ragflow-cli if: startsWith(github.ref, 'refs/tags/v') run: | - cd admin/client && uv build - twine upload admin/client/dist/* -u __token__ -p ${{ secrets.PYPI_API_TOKEN }} + cd admin/client && uv build && uv publish --token ${{ secrets.PYPI_API_TOKEN }} - name: Build and push image run: |