diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 29056451..7d882979 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,4 @@ +exclude: '^.*\.(md|MD)$' repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.3.0 diff --git a/pyproject.toml b/pyproject.toml index 7904387d..598e9028 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"