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 cea8d2f  Fix broken website build, add latest version number and made 
build scripts fail fast (#9863)
cea8d2f is described below

commit cea8d2f4024a5e5d9d9edf43e42be130f10c7c27
Author: Marco de Abreu <marcoab...@users.noreply.github.com>
AuthorDate: Fri Feb 23 02:14:16 2018 +0100

    Fix broken website build, add latest version number and made build scripts 
fail fast (#9863)
---
 docs/build_version_doc/build_all_version.sh | 5 ++++-
 docs/build_version_doc/build_doc.sh         | 5 +++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/docs/build_version_doc/build_all_version.sh 
b/docs/build_version_doc/build_all_version.sh
index bd3758b..6a37815 100755
--- a/docs/build_version_doc/build_all_version.sh
+++ b/docs/build_version_doc/build_all_version.sh
@@ -21,7 +21,10 @@
 # Built files are stored in $built
 # Version numbers are stored in $tag_list.
 # Version numbers are ordered from latest to old and final one is master.
-tag_list="1.0.0 0.12.1 0.12.0 0.11.0 master"
+set -e
+set -x
+
+tag_list="1.1.0 1.0.0 0.12.1 0.12.0 0.11.0 master"
 
 mxnet_url="https://github.com/apache/incubator-mxnet.git";
 mxnet_folder="apache_mxnet"
diff --git a/docs/build_version_doc/build_doc.sh 
b/docs/build_version_doc/build_doc.sh
index b13fa5c..eefc81e 100755
--- a/docs/build_version_doc/build_doc.sh
+++ b/docs/build_version_doc/build_doc.sh
@@ -16,7 +16,8 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-
+set -e
+set -x
 
 web_url="$1"
 web_folder="VersionedWeb"
@@ -57,7 +58,7 @@ then
     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/get_started/install.html" --current_version "$latest_tag"
+                                          --file_path 
"docs/_build/html/install/index.html" --current_version "$latest_tag"
     cp -a "docs/_build/html/." "$local_build"
     cp $tag_list_file "$local_build/tag.txt"
     rm -rf "$web_folder/.git"

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

Reply via email to