fix wrong env var naming
This commit is contained in:
parent
3a451a323c
commit
243ed372c7
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "tom-plugin"
|
name = "tom-plugin"
|
||||||
version = "0.1.1"
|
version = "0.1.2dev1"
|
||||||
description = "Wrapper for TOM plugins with different helper CLIs, primarily integration testing"
|
description = "Wrapper for TOM plugins with different helper CLIs, primarily integration testing"
|
||||||
authors = [
|
authors = [
|
||||||
{name = "d-opt GmbH, resp. Florian Förster", email = "f.foerster@d-opt.com"},
|
{name = "d-opt GmbH, resp. Florian Förster", email = "f.foerster@d-opt.com"},
|
||||||
@ -97,7 +97,7 @@ dev = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[tool.bumpversion]
|
[tool.bumpversion]
|
||||||
current_version = "0.1.1"
|
current_version = "0.1.2dev1"
|
||||||
parse = """(?x)
|
parse = """(?x)
|
||||||
(?P<major>0|[1-9]\\d*)\\.
|
(?P<major>0|[1-9]\\d*)\\.
|
||||||
(?P<minor>0|[1-9]\\d*)\\.
|
(?P<minor>0|[1-9]\\d*)\\.
|
||||||
@ -130,7 +130,7 @@ pre_commit_hooks = []
|
|||||||
post_commit_hooks = []
|
post_commit_hooks = []
|
||||||
|
|
||||||
[tool.bumpversion.parts.pre_l]
|
[tool.bumpversion.parts.pre_l]
|
||||||
values = ["dev", "a", "b", "rc", "final"]
|
values = ["dev", "rc", "final"]
|
||||||
optional_value = "final"
|
optional_value = "final"
|
||||||
|
|
||||||
[[tool.bumpversion.files]]
|
[[tool.bumpversion.files]]
|
||||||
|
|||||||
2
scripts/bump_patch.ps1
Normal file
2
scripts/bump_patch.ps1
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
pdm run bump-my-version bump patch
|
||||||
|
pdm run bump-my-version show current_version
|
||||||
@ -43,4 +43,4 @@ def _set_spacy_model(
|
|||||||
def _set_STFR_model(
|
def _set_STFR_model(
|
||||||
model_name: str = 'all-mpnet-base-v2',
|
model_name: str = 'all-mpnet-base-v2',
|
||||||
) -> None:
|
) -> None:
|
||||||
os.environ['LANG_MAIN_SPACY_MODEL'] = model_name
|
os.environ['LANG_MAIN_STFR_MODEL'] = model_name
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user