Skip to content

bump version (#459) #115

bump version (#459)

bump version (#459) #115

Workflow file for this run

name: Publish
on:
push:
tags:
- "*"
jobs:
publish:
name: "Publish release"
runs-on: "ubuntu-latest"
environment:
name: deploy
steps:
- uses: "actions/checkout@v4"
- uses: "actions/setup-python@v5"
with:
python-version: 3.9
- name: Install build dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: pip install hatch
- name: "Build package"
run: "hatch build"
- name: "Publish to PyPI"
run: "scripts/release"
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
- name: "Deploy docs"
run: |
curl -X POST '${{ secrets.DEPLOY_DOCS }}'