chore(build): Retrieve version information from git tags
But I still have to figure out, how to remove the git hashes and such from the generated version.
This commit is contained in:
parent
9f4da60bb2
commit
28cde5f516
1 changed files with 9 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
[project]
|
||||
license = "GPL-3.0-or-later"
|
||||
name = "teilchensammler-cli"
|
||||
version = "0.1.0"
|
||||
dynamic = ["version"]
|
||||
description = "Build up and maintain an inventory of electronics parts and tools."
|
||||
readme = "README.md"
|
||||
authors = [{ name = "bronsen", email = "kontakt+teilchensammler@nrrd.de" }]
|
||||
|
|
@ -37,8 +37,14 @@ Releasenotes = "https://code.c-base.org/infuanfu/teilchensammler-cli/src/branch/
|
|||
teilchensammler-cli = "teilchensammler_cli:main"
|
||||
|
||||
[build-system]
|
||||
requires = ["uv_build>=0.9.14,<0.10.0"]
|
||||
build-backend = "uv_build"
|
||||
requires = ["hatchling", "hatch-vcs"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.version]
|
||||
source = "vcs"
|
||||
|
||||
[tool.hatch.build.hooks.vcs]
|
||||
version-file = "_version.py"
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue