Skip to content

Commit

Permalink
fix: properly manage pyproject.toml version
Browse files Browse the repository at this point in the history
  • Loading branch information
chanind committed Oct 8, 2024
1 parent e2a692a commit f11a55c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ typing-extensions = "^4.10.0"


[tool.poetry.group.dev.dependencies]
black = { version = "3.23.2", extras = ["jupyter"] }
black = { version = "24.4.0", extras = ["jupyter"] }
pytest = "^8.0.2"
pytest-cov = "^4.1.0"
pre-commit = "^3.6.2"
Expand Down Expand Up @@ -95,7 +95,9 @@ build-backend = "poetry.core.masonry.api"
[tool.semantic_release]
version_variables = [
"sae_lens/__init__.py:__version__",
"pyproject.toml:version",
]
version_toml = [
"pyproject.toml:tool.poetry.version",
]
branch = "main"
build_command = "pip install poetry && poetry build"

0 comments on commit f11a55c

Please sign in to comment.