summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2024-05-18 23:40:50 +0200
committerGravatar Nikias Bassen2024-05-18 23:40:50 +0200
commit1431d42b568ee78161a41ed02df0de60dc1439d6 (patch)
treeeb2bd7a8cc35a769e4944537b433d12fcc169084
parent4323f9abf276a47f33a6cfee1902976e9e99d520 (diff)
downloadideviceinstaller-master.tar.gz
ideviceinstaller-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 5888709..ca007b7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,4 +7,5 @@ EXTRA_DIST = \
git-version-gen
dist-hook:
+ @if ! git diff --quiet; then echo "Uncommitted changes present; not releasing"; exit 1; fi
echo $(VERSION) > $(distdir)/.tarball-version