summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2024-04-16 16:43:52 +0200
committerGravatar Nikias Bassen2024-04-16 16:43:52 +0200
commit6925d58ef7994168fb9585aa6f48421149982329 (patch)
tree59fc5f43a3073c84af449603d847bb70583e45cf
parent067c439e0b18d6f1c8a37dde791f9d91191a922e (diff)
downloadlibideviceactivation-master.tar.gz
libideviceactivation-master.tar.bz2
automake: Prevent `dist` or `distcheck` when uncommitted changes are presentHEADmaster
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index c4ed95a..2c15230 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,6 +9,7 @@ EXTRA_DIST = \
DISTCHECK_CONFIGURE_FLAGS =
dist-hook:
+ @if ! git diff --quiet; then echo "Uncommitted changes present; not releasing"; exit 1; fi
echo $(VERSION) > $(distdir)/.tarball-version
indent: