Skip to content

Commit

Permalink
Run npm run build in make-release.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mondalaci committed Oct 18, 2020
1 parent 00115ac commit b100d67
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/make-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ for (sourcePath of sourcePaths) {
exec(`cd ${buildDir}/..; make clean; make -j8`);
}

exec(`git pull origin master; git checkout master`, { cwd: agentDir });
exec(`npm ci`, { cwd: agentDir });
exec(`git pull origin master; git checkout master; npm ci; npm run build`, { cwd: agentDir });

for (const device of package.devices) {
const deviceDir = `${releaseDir}/devices/${device.name}`;
Expand Down

0 comments on commit b100d67

Please sign in to comment.