- Package:
- git-buildpackage
- Source:
- git-buildpackage
- Submitter:
- Michael Stapelberg
- Date:
- 2025-08-23 18:19:01 UTC
- Severity:
- wishlist
gbp-dch -R --commit is very convenient in that it not only creates the changelog entry but also commits it to git. The next step, which I currently need to do manually, is to create a signed tag, e.g.: git tag -s -m "upload 1.0-2 to unstable" debian/1.0-2 It would be nice if gbp-dch had a --tag option, which would do this automatically for me :). Thanks!
Hi Michael, You can already do that with "gbp buildpackge --git-tag-only" but … … it's perfectly o.k. to have "gbp dch" create the same tags as well. Given some other work I have to do for stretch this is currently quiet low on the priority list though. Cheers, -- Guido
Thanks for the hint! That indeed works as expected.
Isn't this feature already implemented?
I have in gbp.conf the line `sign-tags = True` and after each upload I
just run these commands that does the tagging and signing
automatically:
gbp tag --verbose
gbp push --verbose
Hi, I think this bug report could be closed. The command `gbp tag` does tag and sign tags if gbp.conf has line `sign-tags = True`. There is also git-debpush that creates the same DEP-14 conformant tags and signs them (but with additional metadata used by tag2upload). It would be unnecessary for `gbp-dch` to create tags. And even if it was to create tags, it should only do them when invoked with both `--commit` and `--release` as a sign that the debian/changelog is not just merely being updated, but that it is the final update for the intent of an upload.