Skip to content

chore(main): release stackone-ai 0.3.3 (#32) #35

chore(main): release stackone-ai 0.3.3 (#32)

chore(main): release stackone-ai 0.3.3 (#32) #35

Workflow file for this run

name: Release Please
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@e4dc86ba9405554aeba3c6bb2d169500e7d3b4ee # v4.1.1
id: release
with:
config-file: .release-please-config.json
manifest-file: .release-please-manifest.json
# Only release to PyPI when a new release is created
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
if: ${{ steps.release.outputs.release_created }}
- name: Install uv
if: ${{ steps.release.outputs.release_created }}
uses: astral-sh/setup-uv@557e51de59eb14aaaba2ed9621916900a91d50c6 # v6.6.1
with:
python-version: "3.11"
enable-cache: true
- name: Update version in __init__.py
if: ${{ steps.release.outputs.release_created }}
run: |
uv run scripts/update_version.py
- name: Build and publish package
if: ${{ steps.release.outputs.release_created }}
env:
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: |
uv build
uv publish