Dry-run for version bumping and npm publishing scripts

Summary: To make testing easier, I've implemented dry-run for version bumping and npm publishing scripts

Reviewed By: mweststrate

Differential Revision: D21721142

fbshipit-source-id: 72fc5a78bfc102a8fca9087decfbed6ebbda5e51
This commit is contained in:
Anton Nikolaev
2020-05-26 06:39:49 -07:00
committed by Facebook GitHub Bot
parent dec5045fca
commit 6005d039f7
3 changed files with 57 additions and 11 deletions

View File

@@ -14,6 +14,7 @@ const argv = yargs
.usage('$0 [args]')
.options({
newVersion: {key: 'new-version', alias: 'v', type: 'string'},
dryRun: {key: 'dry-run', alias: 'd', type: 'boolean'},
})
.help().argv;