summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2024-04-15 20:07:51 +0200
committerGravatar Nikias Bassen2024-04-15 20:07:51 +0200
commit0d586cd58680d7b1c2eb08aed7eafbf6328d5d1f (patch)
tree7203553282d3a39bd0aa64146dd1b2724438c356
parentfde8946a3988790fd5d3f01fc0a1fd43609ab1d1 (diff)
downloadlibimobiledevice-glue-master.tar.gz
libimobiledevice-glue-master.tar.bz2
automake: Prevent `dist` or `distcheck` when uncommitted changes are presentmaster
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 2c38d53..96d3c7b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,6 +7,7 @@ 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
indent: