Fix release scripts (#17972)

Circle CI seems to have changed the reported artifact path which broke our scripts.
This commit is contained in:
Brian Vaughn
2020-02-04 11:36:49 -08:00
committed by GitHub
parent 9dba218d93
commit 562d2fbc49

View File

@@ -12,7 +12,7 @@ const theme = require('../theme');
const run = async ({build, cwd}) => {
const artifacts = await getArtifactsList(build);
const nodeModulesArtifact = artifacts.find(
entry => entry.path === 'home/circleci/project/node_modules.tgz'
entry => entry.path.endsWith('node_modules.tgz')
);
if (!nodeModulesArtifact) {