cp $tmp/masters/* $tmp/.
tag_signer='-u Senatus'
tag_message="$p release $version for $suite ($csuite) [dgit]"
- tag_name=debian/3-2_dummy1
+ tag_name=debian/$version
push_spec1="HEAD:refs/dgit/$csuite"
push_spec2="refs/tags/$tag_name"
push_spec="$push_spec1 $push_spec2"
prep unstable sid
mktag
-
mustfail 'sid != sponge' HEAD:refs/dgit/sponge $push_spec2
# fixme test --sig-policy-url string
# fixme cannot test reject "signature is not of type 00!";
-git push origin $push_spec
-
+prep unstable sid
+git push origin $push_spec # succeeds
mktag
-
mustfail 'not replacing previously-pushed version' $push_spec
+git checkout v2
+version=3-2_dummy2
+prep unstable sid
+tag_signer='-u Populus'
+mktag
+git push origin $push_spec # succeeds
+
echo ok.