Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

Commit

Permalink
Fix version file format and configuration
Browse files Browse the repository at this point in the history
- Updated version configuration in pyproject.toml to use 'file' source type
- Ensured VERSION file has no trailing newlines
- Simplified version reading configuration
  • Loading branch information
mentatai[bot] committed Jan 7, 2025
1 parent c5c2254 commit cedda94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mentat/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.19
1.0.19
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ dependencies = [
]

[tool.hatch.version]
source = "file"
path = "mentat/VERSION"
pattern = "(?P<version>[^\\s]+)"

[tool.hatch.build.targets.wheel]
packages = ["mentat", "benchmarks"]
Expand Down

0 comments on commit cedda94

Please sign in to comment.