File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -92,22 +92,27 @@ jobs:
9292 uv build "$dir" --out-dir dist
9393 done
9494
95+ - name : Sync versions to repo and push tag
96+ run : |
97+ git add packages/*/pyproject.toml
98+ git commit -m "chore: update package versions for nightly build ${{ env.NIGHTLY_VERSION }}"
99+ git tag "${{ env.NIGHTLY_VERSION }}"
100+ git push origin "${{ env.NIGHTLY_VERSION }}"
101+ env :
102+ GH_TOKEN : ${{ secrets.GH_TOKEN }}
103+ NIGHTLY_VERSION : ${{ needs.check-for-changes.outputs.nightly-version }}
104+
95105 - name : Publish to PyPI
96106 run : |
97107 uv tool run twine upload dist/* --verbose
98108 env :
99109 TWINE_USERNAME : __token__
100- TWINE_REPOSITORY_URL : ${{ vars.PYPI_REPOSITORY_URL || 'https://test.pypi.org/legacy/' }}
110+ TWINE_REPOSITORY_URL : ${{ vars.PYPI_URL || 'https://test.pypi.org/legacy/' }}
101111 TWINE_PASSWORD : ${{ secrets.PYPI_TOKEN }}
102112
103113 - name : Deploy nightly documentation
104114 shell : bash
105115 run : uv run mike deploy --push nightly
106-
107- - name : Create git tag for nightly
108- run : |
109- git tag "${{ needs.check-for-changes.outputs.nightly-version }}"
110- git push origin "${{ needs.check-for-changes.outputs.nightly-version }}"
111116 env :
112117 GH_TOKEN : ${{ secrets.GH_TOKEN }}
113118
You can’t perform that action at this time.
0 commit comments