Skip to content

fix merge conflict

fix merge conflict #97

Workflow file for this run

name: Build and Publish
permissions:
contents: read
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: 3.14
- name: Install UV
uses: astral-sh/setup-uv@v7
- name: Update version in pyproject.toml
run: |
# Extract version from tag
VERSION=${GITHUB_REF#refs/tags/}
# Update version in pyproject.toml
sed -i "s/^version = .*/version = \"$VERSION\"/" pyproject.toml
- name: Build and Publish to PyPI
env:
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
uv build
uv publish