Revision: 4a2dc00cd87e
Author:   jean.deruelle <[email protected]>
Date:     Fri Apr  6 05:28:38 2012
Log:      Edited wiki page PerformRelease through web user interface.
http://code.google.com/p/jain-sip/source/detail?r=4a2dc00cd87e&repo=wiki

Modified:
 /PerformRelease.wiki

=======================================
--- /PerformRelease.wiki        Fri Mar 30 03:12:36 2012
+++ /PerformRelease.wiki        Fri Apr  6 05:28:38 2012
@@ -30,6 +30,52 @@
 cd ../../../..
 mvn release:clean
 }}}
+
+== Troubleshooting ==
+
+If everything went well with mvn release:prepare but something failed during mvn release:perform or the maven artifacts aren't valid on oss.sonatype.org. You may need to redo the entire maven release process ie going back to the revision before you started the release and remove the tag.
+
+Here is how to delete a tag from a remote Git repository.
+
+If you have a tag named '12345' then you would just do this:
+
+{{{
+git tag -d 12345
+git push origin :refs/tags/12345
+}}}
+
+That will remove '12345' from the remote repository.
+
+Rename your current master branch:
+
+{{{
+git branch -m trunk-after-bad-release
+}}}
+
+Check out your good commit:
+
+{{{
+git checkout <revision>
+}}}
+
+Make your new master branch here:
+
+{{{
+git checkout -b master
+}}}
+
+Now you still have your current trunk around if you want to look at it later, but your master branch is back at your last known good point, ready to be added to. If you really want to throw away your trunk-after-bad-release, you can use:
+
+{{{
+git branch -D trunk-after-bad-release
+}}}
+
+You need to push the changes back to remote google code repo as well with
+
+{{{
+git push -f origin master
+}}}
+

 =Perform a Snapshot Release=

Reply via email to