Skip to content

Bump the version to 0.12.0 #37

Bump the version to 0.12.0

Bump the version to 0.12.0 #37

Workflow file for this run

name: Release
on:
pull_request:
types:
- closed
jobs:
release:
runs-on: ubuntu-latest
if: startsWith(github.head_ref, 'chore/version-bump-')
permissions:
contents: write
pull-requests: write
issues: write
steps:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install Poetry
run: pip install poetry
- name: Build and publish
run: |
poetry install --no-dev
poetry build
# poetry publish --build --no-interaction
- name: Create a release on GitHub
run: gh release create ${{ steps.bump_version.outputs.VERSION }} dist/* --title "Release ${{ steps.bump_version.outputs.VERSION }}" --notes "Release ${{ steps.bump_version.outputs.VERSION }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}