Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
Merge pull request #274 from netlify/prefix-binrc
Browse files Browse the repository at this point in the history
Suffix binrc cache with version number
  • Loading branch information
bcomnes authored Mar 11, 2019
2 parents 6105e79 + a9662ae commit cddd886
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run-build-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit cddd886

Please sign in to comment.