hrkfdn / ncspot

Cross-platform ncurses Spotify client written in Rust, inspired by ncmpc and the likes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use Git annotated tags for releases

ThomasFrans opened this issue · comments

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.

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