You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github uses lightweight tags for releases, which makes git describe reference an earlier annotated tag unless the --tags option is specified.
The git-tag manpage states that releases should use annotated tags, so I'm not sure why github uses lightweight tags for this:
Annotated tags are meant for release while lightweight tags are meant for private or temporary object labels. For this reason, some git commands for naming objects (like git describe) will ignore lightweight tags by default
For example, the latest release is 1.10.0 but git describe uses the earlier annotated tag for version 1.9.8 unless --tags is specified:
github uses lightweight tags for releases, which makes
git describe
reference an earlier annotated tag unless the--tags
option is specified.The
git-tag
manpage states that releases should use annotated tags, so I'm not sure why github uses lightweight tags for this:For example, the latest release is
1.10.0
butgit describe
uses the earlier annotated tag for version1.9.8
unless--tags
is specified:The text was updated successfully, but these errors were encountered: