diff --git a/script/find-release.js b/script/find-release.js index 3cbec2a0225..27812fe1238 100644 --- a/script/find-release.js +++ b/script/find-release.js @@ -1,4 +1,4 @@ -require('dotenv-safe').load() +if (!process.env.CI) require('dotenv-safe').load() const GitHub = require('github') const github = new GitHub() diff --git a/script/prepare-release.js b/script/prepare-release.js index 7322cf17acb..34e500e46b3 100755 --- a/script/prepare-release.js +++ b/script/prepare-release.js @@ -1,6 +1,6 @@ #!/usr/bin/env node -require('dotenv-safe').load() +if (!process.env.CI) require('dotenv-safe').load() require('colors') const args = require('minimist')(process.argv.slice(2), { boolean: ['automaticRelease', 'notesOnly', 'stable'] diff --git a/script/release.js b/script/release.js index 707405f1901..9048d759d94 100755 --- a/script/release.js +++ b/script/release.js @@ -1,6 +1,6 @@ #!/usr/bin/env node -require('dotenv-safe').load() +if (!process.env.CI) require('dotenv-safe').load() require('colors') const args = require('minimist')(process.argv.slice(2)) const fs = require('fs') diff --git a/script/upload-to-github.js b/script/upload-to-github.js index 219879fc4f1..0d42b8d9e1c 100644 --- a/script/upload-to-github.js +++ b/script/upload-to-github.js @@ -1,4 +1,4 @@ -require('dotenv-safe').load() +if (!process.env.CI) require('dotenv-safe').load() const GitHub = require('github') const github = new GitHub()