From 3ee48824fc6b4816126a60211c55fbbacec43d85 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 6 Oct 2014 21:50:09 +0000 Subject: [PATCH] Check that there are no uncommitted changes in the release script. Any such changes wouldn't be included in the release, which is probably unexpected. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@77964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- build/tools/git-make-release | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/tools/git-make-release b/build/tools/git-make-release index b85ce95c37..5a0df86511 100755 --- a/build/tools/git-make-release +++ b/build/tools/git-make-release @@ -38,6 +38,11 @@ if [ ! -r "$EOL_FILE" ]; then exit 1 fi +if ! git diff --quiet; then + echo "Working copy has modifications, commit or stash them." >&2 + exit 2 +fi + set -e set -x