fix(release): ensure git push option is always applied (#29596)
This commit is contained in:
parent
61815929d7
commit
bde8a217f7
@ -547,6 +547,15 @@ export function createAPI(overrideReleaseConfig: NxReleaseConfiguration) {
|
||||
}
|
||||
}
|
||||
|
||||
if (args.gitPush ?? nxReleaseConfig.version.git.push) {
|
||||
output.logSingleLine(`Pushing to git remote "${args.gitRemote}"`);
|
||||
await gitPush({
|
||||
gitRemote: args.gitRemote,
|
||||
dryRun: args.dryRun,
|
||||
verbose: args.verbose,
|
||||
});
|
||||
}
|
||||
|
||||
return {
|
||||
workspaceVersion,
|
||||
projectsVersionData: versionData,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user