Skip to content

Commit 52a96be

Browse files
committed
[FBGEMM][v0.5.0-rc3] Fix using package version and missing bash path
1 parent 87d2327 commit 52a96be

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/scripts/setup_env.bash

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
# shellcheck disable=SC1091,SC2128
2323
. "$( dirname -- "$BASH_SOURCE"; )/fbgemm_gpu_docs.bash"
2424
# shellcheck disable=SC1091,SC2128
25+
. "$( dirname -- "$BASH_SOURCE"; )/fbgemm_gpu_install.bash"
26+
# shellcheck disable=SC1091,SC2128
2527
. "$( dirname -- "$BASH_SOURCE"; )/fbgemm_gpu_lint.bash"
2628
# shellcheck disable=SC1091,SC2128
2729
. "$( dirname -- "$BASH_SOURCE"; )/fbgemm_gpu_test.bash"

fbgemm_gpu/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def generate_package_version(package_name: str, version_variant: str):
3333
today = date.today()
3434
version = f"{today.year}.{today.month}.{today.day}"
3535

36-
elif "test" in package_name:
36+
elif ("test" in package_name) and (not "BUILD_FROM_NOVA" in os.environ):
3737
# Use date stamp for nightly versions
3838
print("[SETUP.PY] Package is for TEST: using random number for the versioning")
3939
version = (f"0.0.{random.randint(0, 1000)}",)

0 commit comments

Comments
 (0)