mirror of https://github.com/apache/maven.git
Don't use tag for commit. Commit pom change in the current branch.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191777 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3f2f0d50a3
commit
25d5870150
|
@ -466,7 +466,14 @@ public class PrepareReleaseMojo
|
|||
|
||||
scm.setWorkingDirectory( basedir );
|
||||
|
||||
String tag = scm.getTag();
|
||||
|
||||
// No tag here - we suppose user works on correct branch
|
||||
scm.setTag( null );
|
||||
|
||||
scm.checkin( message, "pom.xml", null );
|
||||
|
||||
scm.setTag( tag );
|
||||
}
|
||||
catch ( Exception e )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue