We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f52d2e commit f435c39Copy full SHA for f435c39
pyproject.toml
@@ -294,4 +294,8 @@ changelog_incremental = true
294
changelog_merge_prerelease = true
295
gpg_sign = true
296
annotated_tag = true
297
-pre_bump_hooks = ["hatch run build:update-git-versions"]
+pre_bump_hooks = [
298
+ "hatch env remove lint",
299
+ "hatch run build:update-git-versions",
300
+ "git add .",
301
+]
scripts/tools.py
@@ -30,5 +30,7 @@ def get_current_version_from_git() -> Version:
30
def get_version() -> Version:
31
if "npm_package_version" in os.environ:
32
return Version(os.environ["npm_package_version"])
33
+ if "CZ_PRE_NEW_VERSION" in os.environ:
34
+ return Version(os.environ["CZ_PRE_NEW_VERSION"])
35
36
return get_current_version_from_git()
0 commit comments