Skip to content

Commit 1431d42

Browse files
committed
automake: Prevent dist or distcheck when uncommitted changes are present
1 parent 4323f9a commit 1431d42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ EXTRA_DIST = \
77
git-version-gen
88

99
dist-hook:
10+
@if ! git diff --quiet; then echo "Uncommitted changes present; not releasing"; exit 1; fi
1011
echo $(VERSION) > $(distdir)/.tarball-version

0 commit comments

Comments
 (0)