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:
Emmanuel Venisse 2005-06-22 07:07:17 +00:00
parent 3f2f0d50a3
commit 25d5870150
1 changed files with 7 additions and 0 deletions

View File

@ -466,7 +466,14 @@ public class PrepareReleaseMojo
scm.setWorkingDirectory( basedir ); 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.checkin( message, "pom.xml", null );
scm.setTag( tag );
} }
catch ( Exception e ) catch ( Exception e )
{ {