I'm trying to repackage something that is being maintained in a git repo, and has a now-out-of-date debian package existing. I followed these instructions with the exception of turning off pristine-tar support.
But: running gbp buildpackage results in the error:
gbp:error: upstream/0.8.0 is not a valid treeish
In my repo, upstream is the remote repository I cloned; v0.8.0 is a tag; and in debian/gbp.conf I have git-upstream-tag = v%(version)s but it still seems I don't have it configured to find the right treeish. If I git checkout -b upstream/0.8.0 v0.8.0 to create a branch with that name, everything proceeds just as I'd expect.
What am I doing wrong?