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 fc8df56 commit 3e6bb76Copy full SHA for 3e6bb76
fbgemm_gpu/setup.py
@@ -45,6 +45,10 @@ def generate_package_version(package_name: str):
45
# Remove the local version identifier, if any (e.g. 0.4.0rc0.post0+git.6a63116c.dirty => 0.4.0rc0.post0)
46
# Then remove post0 (keep postN for N > 0) (e.g. 0.4.0rc0.post0 => 0.4.0rc0)
47
version = re.sub(".post0$", "", gitversion.version_from_git().split("+")[0])
48
+ print("version from gitversion: ", version)
49
+ print(gitversion.version_from_git())
50
+ # Manually change version
51
+ version = "0.5.0rc1"
52
53
print(f"[SETUP.PY] Setting the package version: {version}")
54
return version
0 commit comments