Skip to content

Commit

Permalink
fix: try to sync version numbers across the CI/CD pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ericrallen committed Jan 25, 2025
1 parent deddf94 commit de5f449
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
10 changes: 9 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "pgn-tokenizer"
version = "0.1.0"
version = "0.1.1"
description = "A byte pair encoding tokenizer for chess portable game notation (PGN)"
readme = "README.md"
license = "MIT"
Expand Down Expand Up @@ -38,6 +38,14 @@ Changelog = "https://github.com/DVDAGames/pgn-tokenizer.git/blob/master/CHANGELO
pgn-tokenizer = "pgn_tokenizer:main"


[semantic_release]
version_variables = [
"src/pgn_tokenizer/__init__.py:__version__",
]
version_toml = [
"pyproject.toml:tool.poetry.version",
]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
Expand Down
2 changes: 2 additions & 0 deletions src/pgn_tokenizer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

from pgn_tokenizer.constants import DATASET_NAME # noqa: E402

__version__ = "0.1.1"

base_path = Path(__file__).parent

tokenizer_config_path = (base_path / f"config/{DATASET_NAME}.json").resolve()
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit de5f449

Please sign in to comment.