Skip to content

Instantly share code, notes, and snippets.

@crohr
Last active August 29, 2015 13:57
Show Gist options
  • Save crohr/9688337 to your computer and use it in GitHub Desktop.
Save crohr/9688337 to your computer and use it in GitHub Desktop.
Redmine git tags not found

Trying to automatically package redmine (https://deb.pkgr.io/pkgr/redmine), but it seems like it can't find the closest tag:

~/dev/redmine(master) $ git describe HEAD
fatal: No tags can describe '1d71564d6f991ba3371ced249758a1a4c824b113'.
Try --always, or create some tags.

Though there are indeed tags:

~/dev/redmine(master) $ git tag --list | tail
2.3.1
2.3.2
2.3.3
2.3.4
2.4.0
2.4.1
2.4.2
2.4.3
2.4.4
2.5.0

Here is the output from some other random project (discourse):

~/dev/discourse(master) $ git describe HEAD
v0.9.8.4-26-g2490837

~/dev/discourse(master) $ git tag --list | tail
v0.9.7.5
v0.9.7.6
v0.9.7.7
v0.9.7.8
v0.9.7.9
v0.9.8
v0.9.8.1
v0.9.8.2
v0.9.8.3
v0.9.8.4

I guess it's because of git-svn, but do you have any idea why this does not properly work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment