mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
build-release-tarball: Error on uncommitted changes.
This commit is contained in:
@@ -36,8 +36,11 @@ fi
|
|||||||
|
|
||||||
if ! git diff --exit-code >/dev/null; then
|
if ! git diff --exit-code >/dev/null; then
|
||||||
set +x
|
set +x
|
||||||
echo; echo "\033[31mWARNING: tarballs builds are based on a commit hash so your changes will not be included\033[0m"; echo
|
echo "ERROR: tarballs builds are based on a commit hash so your changes "
|
||||||
set -x
|
echo "will not be included; you should commit or stash them based on "
|
||||||
|
echo "what you want and then try again."
|
||||||
|
echo
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
TMP_CHECKOUT=$TMPDIR/$prefix/
|
TMP_CHECKOUT=$TMPDIR/$prefix/
|
||||||
|
|||||||
Reference in New Issue
Block a user