Did you ever figure this out? We need the same thing.

On Tuesday, November 30, 2010 3:49:37 PM UTC-8, parker wrote:
>
>
> I'm trying to figure out how to use the Git Publisher feature to move an
> existing tag to commit most recently pulled from a repository and then push
> this change tag back to the origin.
>
> I have successfully been able to "Create a new Tag" that has a name like
> "Build-Production-$BUILD_NUMBER" and then push this tag back to the 
> origin. 
> For my company, we really only care about the most recent tag's build and
> would like to have Hudson automatically tag these deployments with 
> something
> like "Build-Production"
>
> Using the command line, we'd do something like:
> $git tag -a -f  Build-Production
> $git push origin Build-Production
>
> Effectively, I'd want Git Publisher to be able to do "Create/Overwrite" a
> Tag instead of just "Create" a Tag.
>
> Does anyone know how I can leverage the current Git Plugin to do so or
> suggest an alternative method of tagging/pushing using Hudson?
>
> Thanks
> Parker 
>
> -- 
> View this message in context: 
> http://hudson.361315.n4.nabble.com/Can-I-use-Git-Publisher-to-move-or-overwrite-an-existing-tag-tp3066464p3066464.html
> Sent from the Hudson users mailing list archive at Nabble.com.
>
>

Reply via email to