Fix release scripts (#17972)
Circle CI seems to have changed the reported artifact path which broke our scripts.
Brian Vaughn committed
Feb 4, 2020 at 11:36 UTC
562d2fbc497d5e8e6ae5934ae9f68b28cd613fab
1 file changed
+1
-1
scripts/release/shared-commands/download-build-artifacts.js
+1
-1
@@ -12,7 +12,7 @@ const theme = require('../theme');
12
const run = async ({build, cwd}) => {
13
const artifacts = await getArtifactsList(build);
14
const nodeModulesArtifact = artifacts.find(
15
- entry => entry.path === 'home/circleci/project/node_modules.tgz'
15
+ entry => entry.path.endsWith('node_modules.tgz')
16
);
17
18
if (!nodeModulesArtifact) {