You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by lx...@apache.org on 2017/08/01 14:36:06 UTC

[incubator-mxnet-test] 18/28: Fix

This is an automated email from the ASF dual-hosted git repository.

lxn2 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet-test.git

commit b2631878e1695ece6e21864579991362107c7f41
Author: Wang <wa...@9801a7a9c287.ant.amazon.com>
AuthorDate: Thu Jul 27 15:16:48 2017 -0700

    Fix
---
 docs/build_version_doc/build_doc.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/build_version_doc/build_doc.sh b/docs/build_version_doc/build_doc.sh
index 5dfd682..a9b59b9 100755
--- a/docs/build_version_doc/build_doc.sh
+++ b/docs/build_version_doc/build_doc.sh
@@ -20,7 +20,8 @@ done < "$tag_list_file"
 latest_tag=${tag_list[0]}
 echo "latest_tag is: $latest_tag"
 commit_id=$(git rev-parse HEAD)
-curr_tag='${TAG:5}'
+curr_tag='${TAG}'
+curr_tag='${curr_tag:5}'
 echo "Current tag is $curr_tag"
 if [[ "$curr_tag" != 'master' ]] && [ $curr_tag != $latest_tag ]
 then

-- 
To stop receiving notification emails like this one, please contact
"commits@mxnet.apache.org" <co...@mxnet.apache.org>.