aboutsummaryrefslogtreecommitdiff
path: root/debian/roll-tarballs.sh
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-05-28 14:50:05 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-06-23 16:25:23 +0200
commit438f3df14cf12a423aae3ec1a17c1067191b8686 (patch)
tree4468bff53bdaab8cbf1376fd8d51675fc6e93acb /debian/roll-tarballs.sh
parent7e1effbe782644ddf1ec30354224d56e7f3f24ff (diff)
downloadnx-libs-438f3df14cf12a423aae3ec1a17c1067191b8686.tar.gz
nx-libs-438f3df14cf12a423aae3ec1a17c1067191b8686.tar.bz2
nx-libs-438f3df14cf12a423aae3ec1a17c1067191b8686.zip
debian/roll-tarball.sh: Auto-generate ChangeLog from Git history.
Diffstat (limited to 'debian/roll-tarballs.sh')
-rwxr-xr-xdebian/roll-tarballs.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/roll-tarballs.sh b/debian/roll-tarballs.sh
index 07e052268..ecaeac2e0 100755
--- a/debian/roll-tarballs.sh
+++ b/debian/roll-tarballs.sh
@@ -72,6 +72,7 @@ trap "rm -f \"${MANIFEST}\"; rm -rf \"${TEMP_DIR}\"" 0
# create local copy of Git project at temp location
git archive --format=tar "${CHECKOUT}" --prefix="${PROJECT}-${RELEASE}/" | ( cd "$TEMP_DIR"; tar xf - )
+git --no-pager log --after "1972-01-01" --format="%ai %aN (%h) %n%n%x09*%w(68,0,10) %s%d%n" > "${TEMP_DIR}/${PROJECT}-${RELEASE}/ChangeLog"
echo "Created tarball for $CHECKOUT"