mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Fix release scripts (#17972)
Circle CI seems to have changed the reported artifact path which broke our scripts.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user