Fix the release script
Dan Abramov committed
Nov 9, 2017 at 15:16 UTC
c3a529325f67bec0d707e647e7b407a803f50725
1 file changed
+2
-1
scripts/release/publish-commands/publish-to-npm.js
+2
-1
@@ -54,7 +54,8 @@ const push = async ({cwd, dry, version}) => {
54
// Update the @next tag to also point to it (so @next doens't lag behind).
55
if (!isPrerelease) {
56
await execUnlessDry(
57
- `npm dist-tag add ${project}@${packageVersion} next`
57
+ `npm dist-tag add ${project}@${packageVersion} next`,
58
+ {cwd: path, dry}
59
);
60
}
61
}