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) {