We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4667cd6 commit 3737d80Copy full SHA for 3737d80
packages/nx/src/command-line/release/version.ts
@@ -547,6 +547,15 @@ export function createAPI(overrideReleaseConfig: NxReleaseConfiguration) {
547
}
548
549
550
+ if (args.gitPush ?? nxReleaseConfig.version.git.push) {
551
+ output.logSingleLine(`Pushing to git remote "${args.gitRemote}"`);
552
+ await gitPush({
553
+ gitRemote: args.gitRemote,
554
+ dryRun: args.dryRun,
555
+ verbose: args.verbose,
556
+ });
557
+ }
558
+
559
return {
560
workspaceVersion,
561
projectsVersionData: versionData,
0 commit comments