From 799e6665d7b41c4f82032710f3782ca60cc07cbb Mon Sep 17 00:00:00 2001 From: Uriah Finkel Date: Wed, 12 Aug 2026 14:12:19 +0300 Subject: [PATCH 1/2] Bump version to 0.1.29 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3b39df7b..f9eb7bdb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,7 @@ dependencies = [ "great-tables>=0.18.0", ] name = "rtichoke" -version = "0.1.28" +version = "0.1.29" description = "interactive visualizations for performance of predictive models" readme = "README.md" From 47fc90a3f04d0f496a7841a2819077ddf520cf33 Mon Sep 17 00:00:00 2001 From: Uriah Finkel Date: Wed, 12 Aug 2026 14:12:31 +0300 Subject: [PATCH 2/2] Add intentional PyPI release workflow --- .github/workflows/release.yml | 46 +++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..684143f8 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,46 @@ +name: Release package + +on: + push: + branches: ["main"] + paths: + - "pyproject.toml" + +jobs: + release: + runs-on: ubuntu-latest + permissions: + contents: write + id-token: write + + steps: + - uses: actions/checkout@v4 + + - name: Install uv + uses: astral-sh/setup-uv@v5 + with: + python-version: "3.10" + + - name: Read package version + id: version + shell: bash + run: | + VERSION=$(python - <<'PY' + import tomllib + with open("pyproject.toml", "rb") as f: + print(tomllib.load(f)["project"]["version"]) + PY + ) + echo "version=$VERSION" >> "$GITHUB_OUTPUT" + + - name: Build package + run: uv build + + - name: Publish to PyPI + run: uv publish + + - name: Create GitHub release + env: + GH_TOKEN: ${{ github.token }} + VERSION: ${{ steps.version.outputs.version }} + run: gh release create "v${VERSION}" --target "${GITHUB_SHA}" --generate-notes --title "v${VERSION}"