Skip to content

Commit 7d0768f

Browse files
authored
chore: update process to get relase tag from PSR in release workflow (#1539)
fixes #1201
1 parent 2545464 commit 7d0768f

1 file changed

Lines changed: 3 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ jobs:
125125
contents: write
126126
outputs:
127127
released: ${{ steps.release.outputs.released }}
128+
newest_release_tag: ${{ steps.release.outputs.tag }}
128129

129130
steps:
130131
- uses: actions/checkout@v4
@@ -261,22 +262,13 @@ jobs:
261262
echo "CIBW_BUILD=${{ matrix.pyver }}*" >> $GITHUB_ENV
262263
fi
263264
264-
- name: Install python-semantic-release
265-
run: pipx install python-semantic-release==7.34.6
266-
267-
- name: Get Release Tag
268-
id: release_tag
269-
shell: bash
270-
run: |
271-
echo "::set-output name=newest_release_tag::$(semantic-release print-version --current)"
272-
273265
- uses: actions/checkout@v4
274266
with:
275-
ref: "${{ steps.release_tag.outputs.newest_release_tag }}"
267+
ref: ${{ needs.release.outputs.newest_release_tag }}
276268
fetch-depth: 0
277269

278270
- name: Build wheels ${{ matrix.musl }} (${{ matrix.qemu }})
279-
uses: pypa/cibuildwheel@v2.22.0
271+
uses: pypa/cibuildwheel@v2.23.0
280272
# to supply options, put them in 'env', like:
281273
env:
282274
CIBW_SKIP: cp36-* cp37-* pp36-* pp37-* pp38-* cp38-* ${{ matrix.musl == 'musllinux' && '*manylinux*' || '*musllinux*' }}

0 commit comments

Comments
 (0)