On Fri, Mar 10, 2017 at 03:57:50PM +0000, Jo Shields wrote: > Package: git-buildpackage > Version: 0.8.13 > Severity: wishlist > > Dear Maintainer, > > It seems I can't use gbp dch to programatically define the version number > suffix of a build with gbp-dch, but I can with regular dch, via -l. > > For example, if I have a changelog entry for "foo 1.0-1testing6", I can > pass "-l testing" to dch and get "1.0-1testing7" in the changelog, whereas > without the -l flag, I get "1.0-1testing6ubuntu1". > > I tried abusing the snapshot versioning scheme to achieve the same effect, > but still ended up needing to post-process the changelog to make it useful.
The snapthot mechanism (adding ~<number>,gbp<sha>) should do that. Can you elaborate why you need to postprocess? Maybe making the "gbp" part in the version number would help? Cheers, -- Guido