electron-publish
Advanced tools
Comparing version 25.0.0-alpha.6 to 25.0.0-alpha.7
@@ -21,4 +21,4 @@ "use strict"; | ||
let token = info.token; | ||
if ((0, builder_util_1.isEmptyOrSpaces)(token)) { | ||
token = process.env.GH_TOKEN || process.env.GITHUB_TOKEN; | ||
if ((0, builder_util_1.isEmptyOrSpaces)(token) || process.env.GITHUB_RELEASE_TOKEN) { | ||
token = process.env.GITHUB_RELEASE_TOKEN ? process.env.GITHUB_RELEASE_TOKEN : process.env.GH_TOKEN || process.env.GITHUB_TOKEN; | ||
if ((0, builder_util_1.isEmptyOrSpaces)(token)) { | ||
@@ -25,0 +25,0 @@ throw new builder_util_1.InvalidConfigurationError(`GitHub Personal Access Token is not set, neither programmatically, nor using env "GH_TOKEN"`); |
{ | ||
"name": "electron-publish", | ||
"version": "25.0.0-alpha.6", | ||
"version": "25.0.0-alpha.7", | ||
"main": "out/publisher.js", | ||
@@ -5,0 +5,0 @@ "author": "Vladimir Krivosheev", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77884
19