Replies: 10 comments 5 replies
-
We do need this, we create releases from the Github UI and our CI tool which uses If we have this, we can do it pretty easily |
Beta Was this translation helpful? Give feedback.
-
Just to quote the git-tag manpage:
So it would be great to have GitHub work "as intended" |
Beta Was this translation helpful? Give feedback.
-
I would have thought that a release is a sufficiently important event as to warrant a signed tag. Is there a reason you can't sign the release tags? For my projects, I always do that first and then convert it to the GitHub release on the web UI. This makes |
Beta Was this translation helpful? Give feedback.
-
This would really make my workflow a lot easier |
Beta Was this translation helpful? Give feedback.
-
More importantly, lightweight tags are NOT copied into forks! Whereas annotated tags will. This should be changed as soon as possible, and is trivial to do. |
Beta Was this translation helpful? Give feedback.
-
I'd just like to add that it's not at all necessary for GH to try and include any of the release notes as part of the annotated tag. We really just need the tag to be annotated so that it is exposed via, e.g., |
Beta Was this translation helpful? Give feedback.
-
Just ran into this recently. It makes Github's API for creating signed objects inconsistent since you can create signed commits via the API, but not annotated tags. This makes it impossible to have signed annotated tags when using Github App tokens, which are much more safe than using machine users due to being able to provision ephemeral granular API tokens. If we can get signed annotated tags, that would open up more automation possibilities using safer methods of authentication with Github's API Related: https://github.com/orgs/community/discussions/24664#discussioncomment-5084236 |
Beta Was this translation helpful? Give feedback.
-
This needs to be done. Lightweight tags should not be used for releases. This is, effectively, a bug rather than a feature request. |
Beta Was this translation helpful? Give feedback.
-
Tools like Yoct/bitbake make heavily use of the annotation. |
Beta Was this translation helpful? Give feedback.
-
UPDATE: I was wrong, sorry! details in my next comment fix for this issue broke ability to call workflows by https://docs.github.com/en/actions/using-workflows/reusing-workflows#calling-a-reusable-workflow - using |
Beta Was this translation helpful? Give feedback.
-
( Directly copied from the suggestion here: isaacs/github#1916 )
@ssbarnea commented on Feb 9:
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.
Beta Was this translation helpful? Give feedback.
All reactions