mirror of
https://github.com/ceph/ceph
synced 2025-04-01 23:02:17 +00:00
Populate ChangeLog when distribute
Generates ChangeLog from git history for a distributed package. Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@cloudwatt.com>
This commit is contained in:
parent
b22cc850a8
commit
5bb078f991
@ -66,3 +66,8 @@ dist-hook:
|
||||
cd $(srcdir); \
|
||||
git log --format='%aN <%aE>' | sort -u >$(distdir)/AUTHORS; \
|
||||
fi
|
||||
# Generates ChangeLog from git
|
||||
if test -d $(srcdir)/.git; then \
|
||||
cd $(srcdir); \
|
||||
git log --oneline --decorate --no-merges > $(distdir)/ChangeLog; \
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user