From 76b6ffd406241e9e06c4737bd30b7adf29e52235 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Sun, 8 Dec 2019 11:01:39 +0100 Subject: make_release: add test mode This allows testing the release prerequisites without creating a new release. Signed-off-by: Michael Olbrich --- scripts/make_release.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/make_release.sh b/scripts/make_release.sh index 49a1a47..7c1013a 100755 --- a/scripts/make_release.sh +++ b/scripts/make_release.sh @@ -74,6 +74,11 @@ if grep -q UNRELEASED debian/changelog; then exit 1 fi +if [ "${1}" == "--test" ]; then + echo "test mode: all checks ok -- stopping" + exit +fi + tmp="$(mktemp -d /tmp/${0##*/}.XXXXXX)" log="${tmp}/log" -- cgit v1.2.3