Skip to content

Commit

Permalink
fix: 🐞 do not push with --dry-run
Browse files Browse the repository at this point in the history
  • Loading branch information
edbzn committed Dec 5, 2020
1 parent 10e9dc0 commit 8b40a04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/semver/src/builders/version/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export function runBuilder(
bumpFiles: [resolve(projectRoot, 'package.json')],
})
),
options.push
options.push && options.dryRun === false
? switchMapTo(
defer(() =>
pushToGitRemote(options.remote, options.baseBranch, context)
Expand Down

0 comments on commit 8b40a04

Please sign in to comment.