diff --git a/pyproject.toml b/pyproject.toml index 59f82b8..fcd63a1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "tom-plugin" -version = "0.1.1" +version = "0.1.2dev1" description = "Wrapper for TOM plugins with different helper CLIs, primarily integration testing" authors = [ {name = "d-opt GmbH, resp. Florian Förster", email = "f.foerster@d-opt.com"}, @@ -97,7 +97,7 @@ dev = [ ] [tool.bumpversion] -current_version = "0.1.1" +current_version = "0.1.2dev1" parse = """(?x) (?P0|[1-9]\\d*)\\. (?P0|[1-9]\\d*)\\. @@ -130,7 +130,7 @@ pre_commit_hooks = [] post_commit_hooks = [] [tool.bumpversion.parts.pre_l] -values = ["dev", "a", "b", "rc", "final"] +values = ["dev", "rc", "final"] optional_value = "final" [[tool.bumpversion.files]] diff --git a/scripts/bump_patch.ps1 b/scripts/bump_patch.ps1 new file mode 100644 index 0000000..19ee4d1 --- /dev/null +++ b/scripts/bump_patch.ps1 @@ -0,0 +1,2 @@ +pdm run bump-my-version bump patch +pdm run bump-my-version show current_version \ No newline at end of file diff --git a/src/tom_plugin/_env_vars.py b/src/tom_plugin/_env_vars.py index 49546cd..cca1103 100644 --- a/src/tom_plugin/_env_vars.py +++ b/src/tom_plugin/_env_vars.py @@ -43,4 +43,4 @@ def _set_spacy_model( def _set_STFR_model( model_name: str = 'all-mpnet-base-v2', ) -> None: - os.environ['LANG_MAIN_SPACY_MODEL'] = model_name + os.environ['LANG_MAIN_STFR_MODEL'] = model_name