" git push --delete origin $RELBRANCH"
fi
+CHANGEDBY=$(dpkg-parsechangelog -l $PKGDIR/debian/changelog -SMaintainer)
+if [ "$CHANGEDBY" != "$UPLOADER" ]; then
+ cat <<eof
+Changes by $CHANGEDBY to be sponsored by $UPLOADER.
+eof
+ if ! test -e $PKGDIR/debian/RFS; then
+ abort 1 "Sponsored upload, but $PKGDIR/debian/RFS does not exist"
+ fi
+fi
+
( cd "$PKGDIR"
sed -i -e s/UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO/UNRELEASED/ debian/changelog
if test -z "$DISTRO"; then
If you want to build and test it, run:
- cd build && ./build.sh $CRATE && dput ${DEBSRC}_${DEBVER}_source.changes && git checkout - && git merge -
+ cd build && ./build.sh $CRATE && dput ${DEBSRC}_${DEBVER}_source.changes && git checkout - && git merge - && cd -
For your reference, this source package builds $(echo "$upload_bin_packages" | wc -l) binary package(s):
$upload_bin_packages