Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Git annotated tags for releases #1422

Open
ThomasFrans opened this issue Mar 23, 2024 · 1 comment
Open

Use Git annotated tags for releases #1422

ThomasFrans opened this issue Mar 23, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ThomasFrans
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Lightweight tags do not have information about when they were created or by who. The Git manual recommends to use annotated tags for releases because they contain the creator, the data and optionally a signature.

Describe the solution you'd like

Use annotated tags for releases from now on.

Describe alternatives you've considered

/

Additional context

I didn't know this until last week when I had to check the creation date and author of a tag and couldn't as it was a lightweight one (not in this project).

Notice the "commit" instead of "tag" (I think) in the second column
image

https://git-scm.com/docs/git-tag

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.

@ThomasFrans ThomasFrans added the enhancement New feature or request label Mar 23, 2024
@hrkfdn
Copy link
Owner

hrkfdn commented May 10, 2024

Gave this a try for the last release, let me know what you think :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants