Skip to content

Commit

Permalink
Merge pull request #341 from supabase-community/silentworks/add-corre…
Browse files Browse the repository at this point in the history
…ct-semantic-release-vars

Add correct variables for semantic release
  • Loading branch information
Andrew Smith committed Oct 5, 2023
2 parents 1bf3e5d + 738602e commit 5155312
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
exclude: '^.*\.(md|MD)$'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ python-semantic-release = "^7.34.6"
pygithub = "^1.57"

[tool.semantic_release]
version_variable = "gotrue/__init__.py:__version__"
version_variables = ["gotrue/__init__.py:__version__"]
version_toml = ["pyproject.toml:tool.poetry.version"]
major_on_zero = false
commit_subject = "chore(release): bump version to v{version}"
commit_message = "chore(release): bump version to v{version}"
build_command = "curl -sSL https://install.python-poetry.org | python - && export PATH=\"/github/home/.local/bin:$PATH\" && poetry install && poetry build"
upload_to_vcs_release = true
branch = "main"
Expand Down

0 comments on commit 5155312

Please sign in to comment.