git » libjio » commit 05b0e39

Make the prerelease script add diffstat output in the release's patch.

author Alberto Bertogli
2004-05-07 00:57:28 UTC
committer Alberto Bertogli
2007-07-15 12:49:16 UTC
parent bac223d9b32b455a7f1ea84a883b93d314fc9dd9

Make the prerelease script add diffstat output in the release's patch.

Make the prerelease script add diffstat output in the release's patch.

utils/prerelease +19 -0

diff --git a/utils/prerelease b/utils/prerelease
new file mode 100755
index 0000000..3e29e0f
--- /dev/null
+++ b/utils/prerelease
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+if [ $# -ne 1 ]; then
+	echo "Usage: prerelease RELNUM"
+	exit
+fi
+
+echo "Creating the full patch"
+patchdesc $(cat ps/series) > ../libjio-$1.patch
+patchdesc $(cat ps/series) > ../Changelog-$1
+echo >> ../libjio-$1.patch
+echo >> ../libjio-$1.patch
+combine-series ../libjio-$1-t1.patch
+cat ../libjio-$1-t1.patch >> ../libjio-$1.patch
+rm ../libjio-$1-t1.patch
+
+echo "Cleaning up"
+make clean
+