diff options
author | Tibor Frank <tifrank@cisco.com> | 2023-05-02 08:07:03 +0000 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2023-05-02 08:36:31 +0000 |
commit | 089b5394689ac28e2e77e16d51197c19cc3dd486 (patch) | |
tree | dddca8a34b43c94f56123f51c1d49268e9ebc6e1 /resources/libraries/bash/function | |
parent | 1db42c927c072720a4c1b15d30f6be0ca6193871 (diff) |
C-Docs: Set the version of hugo-book theme
Change-Id: Ic8daac7dfc10788baa44d3cf8cf587296ec5070d
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/libraries/bash/function')
-rw-r--r-- | resources/libraries/bash/function/hugo.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/resources/libraries/bash/function/hugo.sh b/resources/libraries/bash/function/hugo.sh index bb749bcf01..052e8333fb 100644 --- a/resources/libraries/bash/function/hugo.sh +++ b/resources/libraries/bash/function/hugo.sh @@ -68,9 +68,12 @@ function hugo_init_modules () { die "Please install Hugo!" fi + hugo_book_url="github.com/alex-shpak/hugo-book" + hugo_book_version="v0.0.0-20230424134111-d86d5e70c7c0" + hugo_book_link="${hugo_book_url}@${hugo_book_version}" pushd "${CSIT_DIR}"/docs || die "Pushd failed!" export PATH=$PATH:/usr/local/go/bin - hugo mod get -u || die "Failed to run Hugo mod!" + hugo mod get "${hugo_book_link}" || die "Failed to run Hugo mod!" popd || die "Popd failed!" } |