bump version from 0.24.0
to 0.25.0rc1
#61
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Supervision Pre-Releases to PyPI and TestPyPI | |
on: | |
push: | |
tags: | |
- "[0-9]+.[0-9]+[0-9]+.[0-9]+a[0-9]" | |
- "[0-9]+.[0-9]+[0-9]+.[0-9]+b[0-9]" | |
- "[0-9]+.[0-9]+[0-9]+.[0-9]+rc[0-9]" | |
workflow_dispatch: | |
jobs: | |
build-and-publish-pre-release-pypi: | |
name: Build and publish to PyPI | |
runs-on: ubuntu-latest | |
environment: test | |
permissions: | |
id-token: write | |
strategy: | |
matrix: | |
python-version: ["3.10"] | |
steps: | |
- name: ποΈ Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: π Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: ποΈ Build source and wheel distributions | |
run: | | |
python -m pip install --upgrade build twine | |
python -m build | |
twine check --strict dist/* | |
- name: π Publish to PyPi | |
uses: pypa/gh-action-pypi-publish@release/v1.10 | |
- name: π Publish to Test-PyPi | |
uses: pypa/gh-action-pypi-publish@release/v1.10 | |
with: | |
repository-url: https://test.pypi.org/legacy/ |