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
{{ message }}
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
At this moment creating a release (tag) using releases page does only create a lightweight git tag, which does not contain essential information like time when it was created. This issue created bug like pypa/setuptools-scm#521 as tools are not able to get information about the tags.
I do think that any tag created by github release should be annotated one: git tag -a instead of just git tag, even if the message would be empty or hardcoded, as this would provide the timestamps that are heavily needed.
Take a look at the difference between annotate tags and lightweight ones, the creatordate is not the tagging date, is the date of the commit! Only annotated ones have the taggerdate property.
$ git tag --format='%(creatordate)%09%(refname:strip=2) %(taggerdate)' [10:28:48]
Tue Feb 9 09:48:55 2021 +0000 0.1
Tue Feb 9 09:48:55 2021 +0000 0.1.1
Tue Feb 9 08:55:44 2021 +0000 0.1a0
Tue Feb 9 09:21:49 2021 +0000 0.1a1
Tue Feb 9 09:48:55 2021 +0000 0.1a2
Tue Feb 9 09:48:55 2021 +0000 0.1a3
Tue Feb 9 09:48:55 2021 +0000 0.1a4
Tue Feb 9 10:16:42 2021 +0000 0.1a5 Tue Feb 9 10:16:42 2021 +0000
Tue Feb 9 10:19:46 2021 +0000 0.1a6 Tue Feb 9 10:19:46 2021 +0000
Tue Feb 9 10:25:51 2021 +0000 0.2 Tue Feb 9 10:25:51 2021 +0000
Tue Feb 9 10:25:59 2021 +0000 0.2.1 Tue Feb 9 10:25:59 2021 +0000
Tue Feb 9 09:21:49 2021 +0000 0.3a0
The text was updated successfully, but these errors were encountered:
TPS
changed the title
Github release should not create lightweight tags
Github release should create annotated (not lightweight) tags
Apr 16, 2021
@ssbarnea I hope you don't mind, but I've adjusted your issue title to include the asked-for solution (which I've a strong preference for — I'd hope such would be acted upon sooner) rather than just the problem.
At this moment creating a release (tag) using releases page does only create a lightweight git tag, which does not contain essential information like time when it was created. This issue created bug like pypa/setuptools-scm#521 as tools are not able to get information about the tags.
I do think that any tag created by github release should be annotated one:
git tag -a
instead of justgit tag
, even if the message would be empty or hardcoded, as this would provide the timestamps that are heavily needed.Take a look at the difference between annotate tags and lightweight ones, the
creatordate
is not the tagging date, is the date of the commit! Only annotated ones have thetaggerdate
property.The text was updated successfully, but these errors were encountered: