On 17/09/2011, at 12:37 AM, Stuart Sierra wrote: > Hello list! > > I use Git, maven-release-plugin, Hudson, and the Hudson M2 Release > Plugin. Can I perform a release from a Git branch other than "master"? > > Right now, to do a release, Hudson checks out the "master" branch and > calls "mvn release:prepare release:perform". If the release succeeds, > the M2 Extra Steps Plugin runs "git push origin master `git tag | grep > -v ^hudson`" to update Git tags. > > If I change my Hudson config to build a different branch, like > "1.2.x", will the maven-release-plugin still do the right thing?
I believe so. You may need to set the <tag> element in the <scm> section of the POM on the branch. In my experience, the release plugin correctly releases in that situation (I'm not using Hudson for that, however). - Brett -- Brett Porter br...@apache.org http://brettporter.wordpress.com/ http://au.linkedin.com/in/brettporter --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org