You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by zh...@apache.org on 2018/03/20 18:47:51 UTC

[incubator-mxnet] branch master updated: fixed the order of adding the new version into tag list before updating the links (#10099)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new c23aa9a  fixed the order of adding the new version into tag list before updating the links (#10099)
c23aa9a is described below

commit c23aa9a744b10fd13964c2155fb5df3461cdec74
Author: thinksanky <31...@users.noreply.github.com>
AuthorDate: Tue Mar 20 11:47:47 2018 -0700

    fixed the order of adding the new version into tag list before updating the links (#10099)
---
 docs/build_version_doc/build_doc.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/build_version_doc/build_doc.sh b/docs/build_version_doc/build_doc.sh
index 427f40c..b8a6974 100755
--- a/docs/build_version_doc/build_doc.sh
+++ b/docs/build_version_doc/build_doc.sh
@@ -83,10 +83,6 @@ then
     git checkout tags/$latest_tag
     make docs || exit 1
     
-    tests/ci_build/ci_build.sh doc python docs/build_version_doc/AddVersion.py --file_path "docs/_build/html/" --current_version "$latest_tag"
-    tests/ci_build/ci_build.sh doc python docs/build_version_doc/AddPackageLink.py \
-                                          --file_path "docs/_build/html/install/index.html" --current_version "$latest_tag"
-
     # Update the tag_list (tag.txt).
     ###### content of tag.txt########
     # <latest_tag_goes_here>
@@ -97,6 +93,10 @@ then
     echo "++++ Adding $latest_tag to the top of the $tag_list_file ++++"
     echo -e "$latest_tag\n$(cat $tag_list_file)" > "$tag_list_file"
     cat $tag_list_file
+    
+    tests/ci_build/ci_build.sh doc python docs/build_version_doc/AddVersion.py --file_path "docs/_build/html/" --current_version "$latest_tag"
+    tests/ci_build/ci_build.sh doc python docs/build_version_doc/AddPackageLink.py \
+                                          --file_path "docs/_build/html/install/index.html" --current_version "$latest_tag"
 
     # The following block does the following:
     # a. copies the static html that was built from new tag to a local sandbox folder.

-- 
To stop receiving notification emails like this one, please contact
zhasheng@apache.org.