branch fails with git provider when not on a branch
---------------------------------------------------
Key: MRELEASE-540
URL: http://jira.codehaus.org/browse/MRELEASE-540
Project: Maven 2.x Release Plugin
Issue Type: Bug
Components: branch
Affects Versions: 2.0
Reporter: Maarten Billemont
When running release:branch while not on a branch tip, maven fails because the
git provider tries to look up the symbolic-ref of the current commit and push
this. This should not be fatal; when no symbolic-ref is found for the current
commit, the plugin should not fail.
This is keeping me from adding release:branch to <goals> such that a
maintenance branch is automatically created when the release is performed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira