Skip to content

docs(readme.md): adds state management docs to readme #10

docs(readme.md): adds state management docs to readme

docs(readme.md): adds state management docs to readme #10

Workflow file for this run

name: Publish to PyPI
on:
push:
tags:
- "v*"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Set up Python
run: uv python install
- name: Install dependencies
run: uv sync
- name: Build and publish
run: |
export VERSION=$(echo $(git describe --tags --abbrev=0) | sed 's/^v//')
sed -i "s/^version = \".*\"/version = \"$VERSION\"/" pyproject.toml
uv build
uv publish --token ${{ secrets.PYPI_API_TOKEN }}
- uses: ncipollo/release-action@v1
with:
bodyFile: "CHANGELOG.md"
token: ${{ secrets.GITHUB_TOKEN }}