Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 562d2fb

Browse files
author
Brian Vaughn
authored
Fix release scripts (facebook#17972)
Circle CI seems to have changed the reported artifact path which broke our scripts.
1 parent 9dba218 commit 562d2fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release/shared-commands/download-build-artifacts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const theme = require('../theme');
1212
const run = async ({build, cwd}) => {
1313
const artifacts = await getArtifactsList(build);
1414
const nodeModulesArtifact = artifacts.find(
15-
entry => entry.path === 'home/circleci/project/node_modules.tgz'
15+
entry => entry.path.endsWith('node_modules.tgz')
1616
);
1717

1818
if (!nodeModulesArtifact) {

0 commit comments

Comments
 (0)