Hi, .. > I'm not sure --upstream-vcs-tag=<commit-ish> can be set in > debian/gbp.conf in any reasonable way though...? Setting > 'upstream-tag=' doesn't achieve exactly the same, I think.
You wrote this one day after I posted the recommended debian/gbp.conf template in https://lists.debian.org/debian-go/2025/11/msg00006.html, I wonder if you read that message? You can simply copy the line `upstream-vcs-tag = v%(version%~%-)s` from the template - it works without any modifications for your golang-golang-x-mod Plese, *never* modify the `upstream-tag` setting. That is what gbp uses to signify what was the upstream import. It is a tag created by git-buildpackage. For a visual explanation of all the git-buildpackage branches and tags see https://optimizedbyotto.com/post/debian-source-package-git/ Reading https://optimizedbyotto.com/post/debian-packaging-from-git/#import-new-upstream-versions-in-the-future might also be of interest.
