Hi Laurent, On Mon, May 31, 2010 at 08:08:07PM +0200, Laurent Bigonville wrote: > Package: git-buildpackage > Version: 0.4.65 > Severity: wishlist > > Hi, > > With this gbp.conf: > > [DEFAULT] > debian-branch = debian > upstream-branch = upstream > pristine-tar = True > > [git-buildpackage] > debian-branch = patch-queue/debian > tarball-dir = ../tarballs/ > export-dir = ../build-area/ > > There is no easy way to tag the release. > > When building from patch-queue/debian with --git-tag the HEAD of this > branch is tagged instead of the debian branch which is wrong. > And if I try to tag with --git-tag-only from the debian branch it told > me it's the wrong branch. That's actually true. Since patch-queue branches are the best way to deal with source format 3.0 (quilt) packages we should really make this more obvious. What I'm currently doing is to pass --debian-branch=patch-queue/debian to git-buildpackage and do the --tag-only from the debian branch itself.
So using something like --use-patch-queue which switches to the pq branch before the build and back afterwards (so the tag apears in the correct location) might be a good solution. -- Guido -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

