sub checks () {
debug "checks";
- checksuite();
+
tagh1('type') eq 'commit' or reject "tag refers to wrong kind of object";
tagh1('object') eq $commit or reject "tag refers to wrong commit";
tagh1('tag') eq $tagname or reject "tag name in tag is wrong";
debug "translated version $v";
$tagname eq "debian/$v" or die;
+ checksuite();
+
# check that our ref is being fast-forwarded
debug "oldcommit $oldcommit";
if ($oldcommit =~ m/[^0]/) {