Skip to content

Bump version number to 0.3.3 #2

Bump version number to 0.3.3

Bump version number to 0.3.3 #2

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
env:
python-version: "3.10"
poetry-version: "1.6.1"
jobs:
pypi-publish:
name: Publish release to PyPI
runs-on: ubuntu-22.04
environment: release
permissions:
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Poetry
run: pipx install poetry==${{ env.poetry-version }}
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: ${{ env.python-version }}
- name: Build release with Poetry
run: poetry build
- name: Check that tag version and Poetry version match
run: '[[ "v$(poetry version --short)" == "${{ github.ref_name }}" ]]'
- name: Upload distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1