Skip to content

Commit 467c9e5

Browse files
fix: use the version from disnake/__init__.py
1 parent a8e50ba commit 467c9e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: MIT
22

33
[build-system]
4-
requires = ["hatchling", "hatch-vcs"]
4+
requires = ["hatchling"]
55
build-backend = "hatchling.build"
66

77
[project]
@@ -128,8 +128,8 @@ include = [
128128
]
129129

130130
[tool.hatch.version]
131-
source = "vcs"
132-
fallback-version = "0.0.0"
131+
path = "disnake/__init__.py"
132+
pattern = '__version__ = "(?P<version>.+)"'
133133

134134
[tool.ruff]
135135
line-length = 100

0 commit comments

Comments
 (0)