summaryrefslogtreecommitdiffstats
path: root/scripts/make_release.sh
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:03:29 +0100
commit76b6ffd406241e9e06c4737bd30b7adf29e52235 (patch)
treee0755545fc1f831bb944e11eeacbc45bb4188f28 /scripts/make_release.sh
parent3b8e429ed4550be26432c5c51fabea178086b7e6 (diff)
downloadOSELAS.Toolchain-76b6ffd406241e9e06c4737bd30b7adf29e52235.tar.gz
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>
Diffstat (limited to 'scripts/make_release.sh')
-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"