You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Norman Schoeneich <sc...@ecooperate.de> on 2004/08/17 18:36:19 UTC

maven prepare-release from existing tag ?

When i call maven scm:prepare-release, i got the following 
error: 

cvs server: sticky tag `xyz' for file `project.xml' is not a branch 
[cvs] cvs [server aborted]: correct above errors first! 

I know the meaning! But how do i tag/release if an existing tag 
exists ? f.e. i run prepare-release from head an created a 
release candiate tag -> then testing the rc -> after testing i want 
to checkout this rc and want to make a release tag with prepare- 
release. Then i got this error ! 

Any idea ? Any settings ?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven prepare-release from existing tag ?

Posted by Brett Porter <br...@gmail.com>.
if you want to prepare the release from HEAD, cvs update -A

if you need to create the release from a tag in the past as you are
attempting, you will need to create a branch and update to that
cvs tag -b foo
cvs update -r foo
maven scm:prepare-release

This is because project.xml and changes.xml get modified and committed
(so you could just branch those if necessary)

- Brett

On Tue, 17 Aug 2004 18:36:19 +0200, Norman Schoeneich
<sc...@ecooperate.de> wrote:
> When i call maven scm:prepare-release, i got the following
> error:
> 
> cvs server: sticky tag `xyz' for file `project.xml' is not a branch
> [cvs] cvs [server aborted]: correct above errors first!
> 
> I know the meaning! But how do i tag/release if an existing tag
> exists ? f.e. i run prepare-release from head an created a
> release candiate tag -> then testing the rc -> after testing i want
> to checkout this rc and want to make a release tag with prepare-
> release. Then i got this error !
> 
> Any idea ? Any settings ?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org