Skip to content

Commit 97d347e

Browse files
committed
fix(ci): fix release step using wrong version number
Do not hardcode version number in pyproject.toml: read it from pygitguardian/__init__.py instead.
1 parent 3e99847 commit 97d347e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pyproject.toml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "pygitguardian"
3-
version = "1.14.0"
3+
dynamic = ['version']
44
description = "Python Wrapper for GitGuardian's API -- Scan security policy breaks everywhere"
55
keywords = [
66
"api-client devsecops secrets-detection security-tools library gitguardian",
@@ -60,6 +60,10 @@ dev = [
6060
requires = ["pdm-backend"]
6161
build-backend = "pdm.backend"
6262

63+
[tool.pdm.version]
64+
source = "file"
65+
path = "pygitguardian/__init__.py"
66+
6367
[tool.black]
6468
target-version = ['py39']
6569
line-length = 88

0 commit comments

Comments
 (0)