Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Provide option to set the starting point on release-start #56

Closed
oliveiragabriel07 opened this issue Jul 12, 2017 · 2 comments
Closed

Comments

@oliveiragabriel07
Copy link

oliveiragabriel07 commented Jul 12, 2017

Hello @aleksandr-m. Thanks for the plugin!

I'm using the plugin to create an automated delivery pipeline with Jenkins. I have configured a input in my job to create a release direct from pipeline after performing automated integration tests. I'd like to start a release branch from this, already tested, point (identified by the commit SHA1) and not from the top of develop.

Currently, is possible to achieve this by disabling fetchRemote and creating a local develop branch at the desired location, but it requires extra work. It would be nice if the plugin supported this through a release-start property. Something like the following:

mvn -B gitflow:release-start -DInitialCommit=<SHA1>

Would you consider including this feature?

@aleksandr-m
Copy link
Owner

Hello. Sounds good. What about merging back to develop? Does release-finish needs to be aware of this?

@oliveiragabriel07
Copy link
Author

I don't think that the release-finish goal needs to be changed, because the release-start doesn't touch the develop branch. It's exactly the same as adding commits to the develop branch before the release is finished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants