summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2024-04-16 16:42:26 +0200
committerGravatar Nikias Bassen2024-04-16 16:42:26 +0200
commita7f0543fb1ecb20ac7121c0fd77297200e0e43fc (patch)
tree6ebe78aaf9e314ae8590b911f679c1737e12f89c
parentbb6a786b676ab5ea6a1a13b5c14ddd965d7583fc (diff)
downloadlibusbmuxd-master.tar.gz
libusbmuxd-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 5ca15d0..559d84c 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