summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-12-08 11:01:39 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-12-08 11:05:53 +0100
commit678180a3ed61d2dcc9ca345ed5d03ed5a75b4463 (patch)
treef5d58fa2c6dd4ca6f9ddbd3c88afcfadf3355308
parent82d55ff3d9ed408f1efb4492b92da3c9ebac9842 (diff)
downloadOSELAS.Toolchain-678180a3ed61d2dcc9ca345ed5d03ed5a75b4463.tar.gz
OSELAS.Toolchain-678180a3ed61d2dcc9ca345ed5d03ed5a75b4463.tar.xz
make_release: add test mode
This allows testing the release prerequisites without creating a new release. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> (cherry picked from commit 76b6ffd406241e9e06c4737bd30b7adf29e52235) Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rwxr-xr-xscripts/make_release.sh5
1 files changed, 5 insertions, 0 deletions
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"