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:
92
92
uv build "$dir" --out-dir dist
93
93
done
94
94
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
+
95
105
- name : Publish to PyPI
96
106
run : |
97
107
uv tool run twine upload dist/* --verbose
98
108
env :
99
109
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/' }}
101
111
TWINE_PASSWORD : ${{ secrets.PYPI_TOKEN }}
102
112
103
113
- name : Deploy nightly documentation
104
114
shell : bash
105
115
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 }}"
111
116
env :
112
117
GH_TOKEN : ${{ secrets.GH_TOKEN }}
113
118
You can’t perform that action at this time.
0 commit comments