From b4be0221857262469463e20752cfa0b86c96e284 Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Tue, 4 Feb 2020 11:31:47 -0800 Subject: [PATCH] Fix release scripts 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 cc65c44016a24..09132a8c5e1fa 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) {