[PATCH] admin: Provide a script to create a ChangeLog for tarballs.

Chris Johns chrisj at rtems.org
Mon May 5 00:40:10 UTC 2014


When providing a tarball release provide a ChangeLog from the git
details. The script captures the changes since the last release.
---
 .gitignore  | 1 +
 mkchangelog | 2 ++
 2 files changed, 3 insertions(+)
 create mode 100755 mkchangelog

diff --git a/.gitignore b/.gitignore
index 8fb71ad..2f6c913 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ autom4te.cache
 configure
 config.h.in
 Makefile.in
+ChangeLog
diff --git a/mkchangelog b/mkchangelog
new file mode 100755
index 0000000..24a4eae
--- /dev/null
+++ b/mkchangelog
@@ -0,0 +1,2 @@
+#! /bin/sh
+git log --no-merges -t --stat 4.10.2.. | unexpand -a | sed -e 's/\s\s*$$//' > ChangeLog
-- 
1.8.5.2 (Apple Git-48)




More information about the devel mailing list