Skip to content

Commit 5ccb474

Browse files
committed
--dry-run -> --run
1 parent 3cccce3 commit 5ccb474

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

components/git/release.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ const PROMOTE = 'promote';
1414
const RELEASERS = 'releasers';
1515

1616
const releaseOptions = {
17-
dryRun: {
18-
describe: 'Do not run steps that involve touching more than the local clone, ' +
19-
'instead print the commands so the user can choose to run them manually',
17+
run: {
18+
describe: 'Run steps that involve touching more than the local clone, ' +
19+
'including `git push` commands. Might not work if a passphrase ' +
20+
'required to push to the remote clone.',
2021
type: 'boolean'
2122
},
2223
prepare: {

lib/promote_release.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const dryRunMessage = 'You are running in dry-run mode, meaning NCU will not run
2020
export default class ReleasePromotion extends Session {
2121
constructor(argv, cli, dir) {
2222
super(cli, dir, argv.prid);
23-
this.dryRun = argv.dryRun;
23+
this.dryRun = !argv.run;
2424
this.isLTS = false;
2525
this.ltsCodename = '';
2626
this.date = '';

0 commit comments

Comments
 (0)