summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/sourel5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/sourel b/bin/sourel
index 4b8c0e97..35ae4fcb 100755
--- a/bin/sourel
+++ b/bin/sourel
@@ -14,6 +14,11 @@ if [ "$(dpkg-parsechangelog -SDistribution)" = UNRELEASED ]; then
exit 1
fi
+if dpkg-parsechangelog | grep -q "Source-only upload\."; then
+ echo >&2 "I believe you want 'debrel'"
+ exit 1
+fi
+
debchange --no-auto-nmu Source-only upload.
debchange --release
git commit debian/changelog -m"Source-only upload"