Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down
9 changes: 9 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion src/realtime/pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"},
Expand Down