Darryl L. Miles created MRELEASE-809:
----------------------------------------

             Summary: prepare-with-pom deletes release-pom.xml then tries to 
git add it (presumably so the next commit records the fact)
                 Key: MRELEASE-809
                 URL: https://jira.codehaus.org/browse/MRELEASE-809
             Project: Maven 2.x Release Plugin
          Issue Type: Bug
          Components: Git
    Affects Versions: 2.3.2
            Reporter: Darryl L. Miles


When running: git release:prepare-with-pom

After the tag is created and pushed, it then runs the sequence:

git rm release-pom.xml
git add -- pom.xml release-pom.xml

But the "git add" fails because the "git rm" did the action of removing the 
actual file and adding the file removal fact to the cached index ready for the 
next commit to pickup.

The solution is to remove the "release-pom.xml" argument from the "git add" it 
is unnecessary.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to