prepare tags whatever you currently have checked out, which should be
the branch if that is what you are releasing.


On Fri, 15 Oct 2004 06:09:05 -0700 (PDT), Pat Nolan <[EMAIL PROTECTED]> wrote:
> Brett, thanks for the response. The only problem with
> what you suggest is that I need to release from a
> branch (other than the main HEAD branch). I'm assuming
> the "prepare" goal will tag HEAD with the tag name I
> specify. This won't work for my situation. I'm trying
> to do a release from a branch. Any ideas?
> 
> Thanks,
> Patrick
> 
> 
> 
> --- Brett Porter <[EMAIL PROTECTED]> wrote:
> 
> > prepare is intended to be run to do the tagging, so
> > you don't need to
> > do that first.
> >
> > I've never tried running them together. Try
> > splitting it into two
> > commands with perform second.
> >
> > Cheers,
> > Brett
> >
> >
> > On Thu, 14 Oct 2004 13:24:07 -0700 (PDT), Pat Nolan
> > <[EMAIL PROTECTED]> wrote:
> > > I am unable to get Maven to grab the correct tag
> > when
> > > building. It seems to be getting HEAD, rather than
> > the
> > > tag I specify.
> > >
> > > This is the scenario: There is one branch in my
> > CVS
> > > repository. I finished bug fixes on this branch
> > and
> > > tagged the head of this branch as "rel_1-0-3".
> > Then I
> > > called Maven with this command, where
> > > buildVersion="rel_1-0-3":
> > >
> > > maven scm:cvs-prepare-release scm:perform-release
> > > -Dmaven.scm.tag.name=$buildVersion
> > > -Dmaven.scm.version.name=$buildVersion
> > > -Dmaven.scm.cvs.sticky.tag=$buildVersion
> > >
> > > Any idea what the issue could be?
> > >
> > > Thanks
> > >
> > > _______________________________
> > > Do you Yahoo!?
> > > Declare Yourself - Register online to vote today!
> > > http://vote.yahoo.com
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > >
> > >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
> >
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to