aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tools/ci_build/copy_binary.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/tools/ci_build/copy_binary.py')
-rwxr-xr-xtensorflow/tools/ci_build/copy_binary.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tensorflow/tools/ci_build/copy_binary.py b/tensorflow/tools/ci_build/copy_binary.py
index 420d390d2b..148526492d 100755
--- a/tensorflow/tools/ci_build/copy_binary.py
+++ b/tensorflow/tools/ci_build/copy_binary.py
@@ -32,7 +32,8 @@ import shutil
import tempfile
import zipfile
-TF_NIGHTLY_REGEX = r"(.+)tf_nightly(|_gpu)-(\d\.\d\.\d.dev[\d]{0,8})-(.+)\.whl"
+TF_NIGHTLY_REGEX = (r"(.+)tf_nightly(|_gpu)-(\d\.[\d]{1,2}"
+ "\.\d.dev[\d]{0,8})-(.+)\.whl")
BINARY_STRING_TEMPLATE = "%s-%s-%s.whl"