Skip to content

Commit 10d9ec3

Browse files
committed
Manually change version
1 parent fc8df56 commit 10d9ec3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

fbgemm_gpu/setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ def generate_package_version(package_name: str):
4545
# Remove the local version identifier, if any (e.g. 0.4.0rc0.post0+git.6a63116c.dirty => 0.4.0rc0.post0)
4646
# Then remove post0 (keep postN for N > 0) (e.g. 0.4.0rc0.post0 => 0.4.0rc0)
4747
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.0rc0"
4852

4953
print(f"[SETUP.PY] Setting the package version: {version}")
5054
return version

0 commit comments

Comments
 (0)