From 181d2725d7ac8da5174b1a13d3ee413057af57b8 Mon Sep 17 00:00:00 2001 From: Ken Cochrane Date: Fri, 25 Mar 2016 10:09:03 -0400 Subject: [PATCH] Added a better message for when we build an unsupported version Signed-off-by: Ken Cochrane --- hack/make.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hack/make.sh b/hack/make.sh index 2eeb0c84f5..909703b9f7 100755 --- a/hack/make.sh +++ b/hack/make.sh @@ -81,6 +81,14 @@ if command -v git &> /dev/null && git rev-parse &> /dev/null; then GITCOMMIT=$(git rev-parse --short HEAD) if [ -n "$(git status --porcelain --untracked-files=no)" ]; then GITCOMMIT="$GITCOMMIT-unsupported" + echo "#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" + echo "# GITCOMMIT = $GITCOMMIT" + echo "# The version you are building is listed as unsupported because" + echo "# there are some files in the git repository that are in an uncommited state." + echo "# Commit these changes, or add to .gitignore to remove the -unsupported from the version." + echo "# Here is the current list:" + git status --porcelain --untracked-files=no + echo "#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" fi ! BUILDTIME=$(date --rfc-3339 ns | sed -e 's/ /T/') &> /dev/null if [ -z $BUILDTIME ]; then