We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
versioningit
release
1 parent db2b317 commit ebfdf49Copy full SHA for ebfdf49
.github/workflows/release.yml
@@ -16,6 +16,8 @@ jobs:
16
- uses: actions/checkout@v6
17
with:
18
persist-credentials: false
19
+ fetch-depth: 0
20
+ fetch-tags: true
21
22
- name: Set up uv
23
uses: astral-sh/setup-uv@v7
pyproject.toml
@@ -19,7 +19,11 @@ packages = ["src/crate"]
[tool.hatch.version]
source = "versioningit"
-default-version = "0.0.0+unknown"
+
+[tool.versioningit.vcs]
24
+method = "git-archive"
25
+default-tag = "0.0.0"
26
+describe-subst = "$Format:%(describe:tags)$"
27
28
[project]
29
name = "crate"
0 commit comments