From 562d2fbc497d5e8e6ae5934ae9f68b28cd613fab Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Tue, 4 Feb 2020 11:36:49 -0800 Subject: [PATCH] Fix release scripts (#17972) Circle CI seems to have changed the reported artifact path which broke our scripts. --- scripts/release/shared-commands/download-build-artifacts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release/shared-commands/download-build-artifacts.js b/scripts/release/shared-commands/download-build-artifacts.js index cc65c44016..09132a8c5e 100644 --- a/scripts/release/shared-commands/download-build-artifacts.js +++ b/scripts/release/shared-commands/download-build-artifacts.js @@ -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) {