debcommit: Add annotated for git tags

Motivation

I build packages everyweek and I commit changes to git remote server. My flow is simple:

dch "Update hosts" --release
debcommit -aRr

No problem so far but at this point, I want to upload to my git repository and I want upload 2 things:

  • Branch
  • Tag

So, I thought is easy and correct use git push --follow-tags but this command doesn't work becase debcommit is creating Lightweight tags instead of Annotated tags.

Proposed changes

Change debcommit tags from lightweight to annotated tags in order to add useful metadata.

Examples

Without proposed changes

Screenshot_from_2018-08-03_11-50-48

With proposed changes

Screenshot_from_2018-08-03_11-55-40

Edited by Javi Sabalete

Merge request reports

Loading