From d73f6a3891b072ef3878e97ea2f1556b3579d910 Mon Sep 17 00:00:00 2001 From: Leonardo Santiago Date: Fri, 3 Oct 2025 14:29:47 -0300 Subject: [PATCH] fix: fix ci action to reference output of release-please job also add realtime to release-please-config --- .github/workflows/ci.yml | 4 +++- release-please-config.json | 9 +++++++++ src/realtime/pyproject.toml | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c1e98c24..c1f0b5a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,6 +67,8 @@ jobs: if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' && github.repository_owner == 'supabase' }} runs-on: ubuntu-latest name: "Run release-please" + outputs: + should_publish: steps.release.outputs.release_created permissions: id-token: write # IMPORTANT: this permission is mandatory for trusted publishing contents: write # needed for github actions bot to write to repo @@ -80,7 +82,7 @@ jobs: manifest-file: .release-please-manifest.json publish: needs: release-please - if: ${{ needs.release-please.outputs.release_created }} + if: ${{ needs.release-please.outputs.should_publish }} runs-on: ubuntu-latest name: "Publish to PyPi" environment: diff --git a/release-please-config.json b/release-please-config.json index 6141a99f..8cc43b00 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -50,6 +50,15 @@ "type": "toml", "path": "src/storage/pyproject.toml", "jsonpath": "$.project.version" + }, + { + "type": "generic", + "path": "src/realtime/src/realtime/version.py" + }, + { + "type": "toml", + "path": "src/realtime/pyproject.toml", + "jsonpath": "$.project.version" } ] } diff --git a/src/realtime/pyproject.toml b/src/realtime/pyproject.toml index fd572079..bfbc3ce2 100644 --- a/src/realtime/pyproject.toml +++ b/src/realtime/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "realtime" -version = "2.20.0" # {x-release-please-version} +version = "2.21.0" # {x-release-please-version} description = "" authors = [ { name = "Joel Lee", email="joel@joellee.org"},