Skip to content

Commit

Permalink
fix(scripts): change default node version from 6 to 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Marton authored and hekike committed Sep 11, 2017
1 parent c17b98f commit 13459ea
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/env.sh
@@ -1,5 +1,8 @@
#!/usr/bin/env bash
set -e

DEFAULT_NODE_VERSION=8

if [[ -z $ENV_ESSENTIAL_EXPORTS ]]; then
if [[ $CIRCLE_BRANCH ]]; then # Runs on CircleCI
export IS_CI="1"
Expand All @@ -14,7 +17,7 @@ if [[ -z $ENV_ESSENTIAL_EXPORTS ]]; then
export COMMIT_AUTHOR=$(git log -1 --pretty=%an)
export REPOSITORY_URL=$CIRCLE_REPOSITORY_URL
if [[ -z $TOOL_NODE_VERSION ]]; then
export TOOL_NODE_VERSION=6
export TOOL_NODE_VERSION=$DEFAULT_NODE_VERSION
fi
if [[ -z $NODE_VERSION ]]; then
export NODE_VERSION=$TOOL_NODE_VERSION
Expand All @@ -32,9 +35,9 @@ if [[ -z $ENV_ESSENTIAL_EXPORTS ]]; then
export REPOSITORY_URL=$(git config --get remote.origin.url)
export REPOSITORY_PUSH_URL=$REPOSITORY_URL
if [[ -z $TOOL_NODE_VERSION ]]; then
export TOOL_NODE_VERSION=6
export TOOL_NODE_VERSION=$DEFAULT_NODE_VERSION
fi
export NODE_VERSION_FW=6
export NODE_VERSION_FW=$DEFAULT_NODE_VERSION
if [[ -z $NODE_VERSION ]]; then
export NODE_VERSION=$TOOL_NODE_VERSION
fi
Expand Down

0 comments on commit 13459ea

Please sign in to comment.