diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh index 6d394be7..3c9d417a 100755 --- a/debian/orig-tar.sh +++ b/debian/orig-tar.sh @@ -126,6 +126,11 @@ cd $PATH_DEBIAN if test -z "$DISTRIBUTION"; then DISTRIBUTION="experimental" fi -dch --allow-lower-version --distribution $DISTRIBUTION --newversion 1:$VERSION-1~exp1 "New snapshot release" + +if test ! -n "$RCRELEASE"; then + EXTRA_DCH_FLAGS="--force-bad-version --allow-lower-version" +fi + +dch $EXTRA_DCH_FLAGS --distribution $DISTRIBUTION --newversion 1:$VERSION-1~exp1 "New snapshot release" exit 0