diff --git a/data/args.yml b/data/args.yml index eac441076624..d2ce909fc840 100644 --- a/data/args.yml +++ b/data/args.yml @@ -18,7 +18,7 @@ copyright_year: 2019 # when archive_landing=true, we're building the landing page for archive.istio.io preliminary: false archive: false -archive_landing: false +archive_landing: true # When archive=true above, these values must be filled in archive_date: YYYY-MM-DD diff --git a/scripts/build_site.sh b/scripts/build_site.sh index 4d1000412d0e..fd601be3275d 100755 --- a/scripts/build_site.sh +++ b/scripts/build_site.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env sh +#!/bin/bash # Copyright Istio Authors # diff --git a/scripts/gen_archive_site.sh b/scripts/gen_archive_site.sh index f100d6bc2ac3..537e34222dc1 100755 --- a/scripts/gen_archive_site.sh +++ b/scripts/gen_archive_site.sh @@ -1,4 +1,4 @@ -#! /bin/bash +#!/bin/bash # Copyright Istio Authors # @@ -73,6 +73,7 @@ for rel in "${TOBUILD_JEKYLL[@]}"; do bundle install bundle exec jekyll build --config _config.yml,config_override.yml + bundle clean --force mv _site "${TMP}/archive/${NAME}" echo "- name: \"${NAME}\"" >> "${TMP}/archives.yml" @@ -80,6 +81,10 @@ for rel in "${TOBUILD_JEKYLL[@]}"; do git clean -f done +# delete this pesky command as it overrides the sass version we explicitly installed and want to be using +# shellcheck disable=SC2230 +rm -fr "$(which sass)" + echo "### Building landing page" popd || exit popd || exit diff --git a/scripts/gen_site.sh b/scripts/gen_site.sh index d606f8e008b7..2abd78198cb3 100755 --- a/scripts/gen_site.sh +++ b/scripts/gen_site.sh @@ -1,4 +1,4 @@ -#! /bin/bash +#!/bin/bash # Copyright Istio Authors # diff --git a/scripts/opt_site.sh b/scripts/opt_site.sh index f2b4d7ed2ef1..0784a41adf8c 100755 --- a/scripts/opt_site.sh +++ b/scripts/opt_site.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env sh +#!/bin/bash # Copyright Istio Authors #