Closed kavink closed 10 years ago
Version 1.0.15 introduces two boolean flags: releaseNoCommit and releaseNoPush. Each of them could be defined either in context of multiproject element or in context of project element:
multiproject {
releaseNoPush = true
git baseDir: 'upstream_repos', {
project name: 'project1', releaseNoCommit: true
project name: 'project3'
project name: 'project2', dependsOn: [ 'project1', 'project3' ]
}
}
when releaseNoPush=true, ARF commits release and new versions, but does not push anything upstream.
when releaseNoCommit=true, ARF does not commit nor push release and new versions.
:+1: Thanks will test it.
Is it possible to just call a push task later if everything looks good ? As it was skipped originally ?
Yes, multiproject-git-gradle already supports pushing all involved repositories at the same time. Syntax:
gradle gitPush
On Sun, Jul 27, 2014 at 8:48 PM, kavink notifications@github.com wrote:
Is it possible to just call a push task later if everything looks good ? As it was skipped originally ?
— Reply to this email directly or view it on GitHub https://github.com/akhikhl/multiproject-git-gradle/issues/4#issuecomment-50281978 .
Thanks Looks goodl. Closed by : 1870671c09e63b03ea46ceb9b86bdf25d6fc5f8c
It will be nice to have a flag to disable git push to upstream/origin. Or if possible having a dry-run mode will be helpful.