From a9662ae6cd0b486b970410ea39e51cb3d8b31f45 Mon Sep 17 00:00:00 2001 From: Bret Comnes Date: Mon, 11 Mar 2019 14:32:02 -0700 Subject: [PATCH] Suffix binrc cache with version number --- run-build-functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run-build-functions.sh b/run-build-functions.sh index 65243b7a..ea24e48b 100755 --- a/run-build-functions.sh +++ b/run-build-functions.sh @@ -436,7 +436,7 @@ install_dependencies() { if [ -n "$HUGO_VERSION" ] then echo "Installing Hugo $HUGO_VERSION" - hugoOut=$(binrc install -c $NETLIFY_CACHE_DIR/.binrc hugo) + hugoOut=$(binrc install -c $NETLIFY_CACHE_DIR/.binrc-$BINRC_VERSION hugo) if [ $? -eq 0 ] then export PATH=$(dirname $hugoOut):$PATH @@ -451,7 +451,7 @@ install_dependencies() { if [ -n "$GUTENBERG_VERSION" ] then echo "Installing Gutenberg $GUTENBERG_VERSION" - gutenbergOut=$(binrc install -c $NETLIFY_CACHE_DIR/.binrc gutenberg) + gutenbergOut=$(binrc install -c $NETLIFY_CACHE_DIR/.binrc-$BINRC_VERSION gutenberg) if [ $? -eq 0 ] then export PATH=$(dirname $gutenbergOut):$PATH