"git describe" not reading proper tagged release
See original GitHub issueFound this out in another package. It turns out that when a release is tagged using GitHub’s web interface, it does not play well with “git describe” command. The current workaround is to tag it using “git” command line, push the tag out, and then insert release notes after-the-fact.
$ git tag
v2.6.0
v2.6.1
v2.6.2
v2.6.3
$ git show-ref --tags -d
3dd9d68ababac85c90b600d9c4eddc2d23517c99 refs/tags/v2.6.0
47a85a1a5a1bd436c3a8161a459759139b9f7861 refs/tags/v2.6.1
c29f9214828ede13675210cb649977b306f2d5d2 refs/tags/v2.6.2
647c6550ad3979a1cc15e9e48dc220dfa8941f53 refs/tags/v2.6.3
$ git describe
fatal: No annotated tags can describe 'a9943ebfb868e53bdb5d897db05617b06de282ba'.
However, there were unannotated tags: try --tags.
$ git describe --tags
v2.6.3-59-ga9943eb
c/c @jhunkeler
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
"git describe" ignores a tag - Stack Overflow
So in my case, the developers decided to create a new release branch exclusively for tagging releases which results that the develop branch...
Read more >git-describe Documentation - Git
The command finds the most recent tag that is reachable from a commit. If the tag points to the commit, then only the...
Read more >Proper use of Git tags - Dan Aloni
The git describe command can relate any commit to tags in the history. ... Pick good tag names that do not cause ambiguity...
Read more >git tag | Atlassian Git Tutorial
Tagging is generally used to capture a point in history that is used for a marked version release (i.e. v1.0.1). A tag is...
Read more >How To List Git Tags - devconnected
In order to find the latest Git tag available on your repository, you have to use the “git describe” command with the “–tags”...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Release v2.6.4 made.
Yes, it should be.