From a6d4cb80dc5e93d0cb26262bf551ae66024e5cd8 Mon Sep 17 00:00:00 2001 From: tsai Date: Thu, 7 Jul 2022 21:03:16 +0800 Subject: [PATCH] enable release --- tools/generate_pip_version.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/generate_pip_version.py b/tools/generate_pip_version.py index 519dbfbc5ef..fe034872dfc 100644 --- a/tools/generate_pip_version.py +++ b/tools/generate_pip_version.py @@ -13,6 +13,8 @@ local_label = "" version = f"0.8.0" +os.environ["ONEFLOW_RELEASE_VERSION"] = version + # set version if release of nightly assert ( os.getenv("ONEFLOW_RELEASE_VERSION") != ""