From 65dda8b5deed737e8dcd422e9a8f25f927f6d360 Mon Sep 17 00:00:00 2001 From: David Ochoa Date: Wed, 13 Dec 2023 10:13:24 +0000 Subject: [PATCH] feat: atttempt to configure release branch --- pyproject.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2e7723c44..a860c4ef3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "otgenetics" -version = "0.0.1" +version = "0.0.0" description = "Open targets Genetics Portal Python ETL" authors = ["Open Targets core team"] license = "Apache License v2" @@ -66,11 +66,11 @@ apache-airflow-providers-google = "^10.11.1" pydoclint = "^0.3.8" python-semantic-release = "^8.3.0" -[tool.semantic_release] -branch = "main" +[tool.semantic_release.branches.release] +match = "(release/*)" +pre_release = "rc" version_variable = ["src/otg/__init__.py:__version__"] version_toml = ["pyproject.toml:tool.poetry.version"] -major_on_zero = true upload_to_pypi = false upload_to_release = false build_command = "pip install poetry && poetry build"