Skip to content

Commit 13e2902

Browse files
committed
Set workflow to run for both release versions
1 parent 58ee416 commit 13e2902

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/pre-release.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: Publish pre-release to Test PyPI
22
on:
33
push:
4-
branches: [ develop ]
4+
branches:
5+
- develop
6+
- release/2.x
57

68
env:
79
PYTHON_VERSION: 3.13
@@ -20,18 +22,17 @@ jobs:
2022
python-version: ${{ env.PYTHON_VERSION }}
2123
deps-group: release
2224
- name: Set pre-release version
23-
# Note: --no-config intentionally omitted from uv version - it would prevent
24-
# reading pyproject.toml, which is the whole point of this command.
25-
# --frozen skips re-locking since we only need to patch the version, not update deps.
2625
env:
2726
RUN_NUMBER: ${{ github.run_number }}
27+
# --frozen skips re-locking since we only need to patch the version, not update deps.
2828
run: |
2929
SHA=$(git rev-parse --short HEAD)
3030
BASE=$(uv version --short)
3131
uv version --frozen "${BASE}.dev${RUN_NUMBER}+g${SHA}"
3232
- name: Build packages for distribution
3333
run: uv build
34-
- name: Publish packages to Test PyPI
35-
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b
36-
with:
37-
repository-url: https://test.pypi.org/legacy/
34+
- run: ls -Al dist/
35+
# - name: Publish packages to Test PyPI
36+
# uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b
37+
# with:
38+
# repository-url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)