commit | a7f0543fb1ecb20ac7121c0fd77297200e0e43fc | [log] [tgz] |
---|---|---|
author | Nikias Bassen <nikias@gmx.li> | Tue Apr 16 16:42:26 2024 +0200 |
committer | Nikias Bassen <nikias@gmx.li> | Tue Apr 16 16:42:26 2024 +0200 |
tree | 6ebe78aaf9e314ae8590b911f679c1737e12f89c | |
parent | bb6a786b676ab5ea6a1a13b5c14ddd965d7583fc [diff] |
automake: Prevent `dist` or `distcheck` when uncommitted changes are present
diff --git a/Makefile.am b/Makefile.am index 5ca15d0..559d84c 100644 --- a/Makefile.am +++ b/Makefile.am
@@ -7,4 +7,5 @@ git-version-gen dist-hook: + @if ! git diff --quiet; then echo "Uncommitted changes present; not releasing"; exit 1; fi echo $(VERSION) > $(distdir)/.tarball-version