chiark / gitweb /
tag2upload: baredebian: Pass dgit refs/tags/, not the commit hash
[dgit.git] / infra / dgit-repos-server
index ba71700b98ed24cd001410904a7f5d0764744fbc..09a0d3c03afe06acfc96d77a0bb3e551f4e06ed8 100755 (executable)
@@ -1285,7 +1285,7 @@ END
        if ($quilt =~ m/baredebian/) {
            die "needed upstream commmitish with --quilt=baredebian"
                unless defined $upstreamc;
-           push @dgitcmd, "--upstream-commitish=$upstreamc";
+           push @dgitcmd, "--upstream-commitish=refs/tags/$upstreamt";
        }
     }
     push @dgitcmd, qw(push-source --new --overwrite), $suite;