fix(repo): fix release script to look for new node auth token (#20590)
This commit is contained in:
parent
38954c4094
commit
cfd8c898eb
@ -36,7 +36,7 @@ const LARGE_BUFFER = 1024 * 1000000;
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Expected to run as part of the Github `publish` workflow
|
// Expected to run as part of the Github `publish` workflow
|
||||||
if (!options.local && process.env.NPM_TOKEN) {
|
if (!options.local && process.env.NODE_AUTH_TOKEN) {
|
||||||
// Delete all .node files that were built during the previous steps
|
// Delete all .node files that were built during the previous steps
|
||||||
// Always run before the artifacts step because we still need the .node files for native-packages
|
// Always run before the artifacts step because we still need the .node files for native-packages
|
||||||
execSync('find ./build -name "*.node" -delete', {
|
execSync('find ./build -name "*.node" -delete', {
|
||||||
@ -65,7 +65,7 @@ const LARGE_BUFFER = 1024 * 1000000;
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Intended for creating a github release which triggers the publishing workflow
|
// Intended for creating a github release which triggers the publishing workflow
|
||||||
if (!options.local && !process.env.NPM_TOKEN) {
|
if (!options.local && !process.env.NODE_AUTH_TOKEN) {
|
||||||
// For this important use-case it makes sense to always have full logs
|
// For this important use-case it makes sense to always have full logs
|
||||||
isVerboseLogging = true;
|
isVerboseLogging = true;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user