mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 20:43:30 +01:00
Remove Node version check from deploy script
This commit is contained in:
@@ -24,12 +24,6 @@ else
|
|||||||
SOURCE_TYPE="branch"
|
SOURCE_TYPE="branch"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# For Node != 8, do nothing
|
|
||||||
if [ "$TRAVIS_NODE_VERSION" != "8" ]; then
|
|
||||||
echo -e "\e[36m\e[1mBuild triggered with Node v${TRAVIS_NODE_VERSION} - doing nothing."
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Run the build
|
# Run the build
|
||||||
npm run docs
|
npm run docs
|
||||||
VERSIONED=false npm run webpack
|
VERSIONED=false npm run webpack
|
||||||
@@ -88,4 +82,3 @@ git config user.name "Travis CI"
|
|||||||
git config user.email "$COMMIT_AUTHOR_EMAIL"
|
git config user.email "$COMMIT_AUTHOR_EMAIL"
|
||||||
git commit -m "Webpack build for ${SOURCE_TYPE} ${SOURCE}: ${SHA}" || true
|
git commit -m "Webpack build for ${SOURCE_TYPE} ${SOURCE}: ${SHA}" || true
|
||||||
git push $SSH_REPO $TARGET_BRANCH
|
git push $SSH_REPO $TARGET_BRANCH
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user