magnayn / Hudson-GIT-plugin

Git plugin for Hudson
http://wiki.hudson-ci.org/display/HUDSON/Git+Plugin
51 stars 26 forks source link

hudson's git tags break the git describe output #1

Open sam-github opened 14 years ago

sam-github commented 14 years ago

When I clone and checkout origin/master: % git status

On branch master

nothing to commit (working directory clean) ~/s/libnet/libnet.git % git describe libnet-1.1.4-108-g987fc90

When this happens in hudson:

build@build:/storage/sw/hudson/jobs/libnet/workspace$ git checkout origin/master HEAD is now at 987fc90... Memory bounds checking using electric fence. build@build:/storage/sw/hudson/jobs/libnet/workspace$ git status

Not currently on any branch.

nothing to commit (working directory clean) build@build:/storage/sw/hudson/jobs/libnet/workspace$ git describe hudson-libnet-5

I can see why some might like this auto-tagging, but it should be optional.

sam-github commented 14 years ago

sorry the formatting is broken, there doesn't seem to be a way to disable markdown.

ghost commented 12 years ago

Wish this would be fixed! Using underscore might solve it, ie "hudson_libnet_5"