From ebded8923542810b2d5644f6d17900b4ea874346 Mon Sep 17 00:00:00 2001 From: Patryk Mikulski Date: Sun, 21 Apr 2024 14:02:00 +0200 Subject: [PATCH 1/6] feat: breaking changes due to essential bug fixes --- pyPTE/__init__.py | 1 + pyPTE/core/__init__.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pyPTE/__init__.py b/pyPTE/__init__.py index e69de29..3dc1f76 100644 --- a/pyPTE/__init__.py +++ b/pyPTE/__init__.py @@ -0,0 +1 @@ +__version__ = "0.1.0" diff --git a/pyPTE/core/__init__.py b/pyPTE/core/__init__.py index 3dc1f76..8b13789 100644 --- a/pyPTE/core/__init__.py +++ b/pyPTE/core/__init__.py @@ -1 +1 @@ -__version__ = "0.1.0" + From 36df134bc1d1d6e1f87cedf78d15791504a49e1f Mon Sep 17 00:00:00 2001 From: Patryk Mikulski Date: Sun, 21 Apr 2024 14:15:54 +0200 Subject: [PATCH 2/6] chore: pipeline --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index bf4d56d..b9d68ad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,6 +64,8 @@ version_variable = "pyPTE/__init__.py:__version__" upload_to_pypi = "false" [tool.semantic_release.branches.main] match = "(main)" +[tool.semantic_release.remote.token] +env = "GH_TOKEN" [build-system] requires = ["poetry-core>=1.9"] From 211a592acf7b7bb3f81492720ca4fc01c9e19b12 Mon Sep 17 00:00:00 2001 From: Patryk Mikulski Date: Mon, 22 Apr 2024 13:47:35 +0200 Subject: [PATCH 3/6] fix: configure semantic release --- pyproject.toml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b9d68ad..9e05a0d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,10 +60,17 @@ module = ["scipy", "mne", "seaborn", "sdeint"] ignore_missing_imports = true [tool.semantic_release] -version_variable = "pyPTE/__init__.py:__version__" +version_variable = [ + "src_folder/__init__.py:__version__", + "pyproject.toml:version" +] upload_to_pypi = "false" +upload_to_release = true +build_command = "pip install poetry && poetry build" + [tool.semantic_release.branches.main] match = "(main)" + [tool.semantic_release.remote.token] env = "GH_TOKEN" From ab9500629162cc70b79110c6e815dc9a2781ffe2 Mon Sep 17 00:00:00 2001 From: Patryk Mikulski Date: Mon, 22 Apr 2024 13:49:48 +0200 Subject: [PATCH 4/6] chore: configure semantic release --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9e05a0d..a36e068 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -66,7 +66,6 @@ version_variable = [ ] upload_to_pypi = "false" upload_to_release = true -build_command = "pip install poetry && poetry build" [tool.semantic_release.branches.main] match = "(main)" From 4f447837c616a62ba27fc7dd7938619e21ce21ab Mon Sep 17 00:00:00 2001 From: Patryk Mikulski Date: Mon, 22 Apr 2024 13:53:37 +0200 Subject: [PATCH 5/6] chore: configure semantic release --- pyproject.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c8653cc..8d08ff5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -75,9 +75,6 @@ env = "GH_TOKEN" [tool.semantic_release.remote.token] env = "GH_TOKEN" -[tool.semantic_release.remote.token] -env = "GH_TOKEN" - [build-system] requires = ["poetry-core>=1.9"] build-backend = "poetry.core.masonry.api" From bc3c63c1cd5311a300cc7a7e832a341ccdd19f1b Mon Sep 17 00:00:00 2001 From: Patryk Mikulski Date: Mon, 22 Apr 2024 13:54:13 +0200 Subject: [PATCH 6/6] chore: configure semantic release --- pyproject.toml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8d08ff5..f491998 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -69,11 +69,6 @@ upload_to_release = true [tool.semantic_release.branches.main] match = "(main)" -[tool.semantic_release.remote.token] -env = "GH_TOKEN" - -[tool.semantic_release.remote.token] -env = "GH_TOKEN" [build-system] requires = ["poetry-core>=1.9"]