changelog creator for new releases

From: Date: Mon, 30 Apr 2007 17:56:28 +0000
Subject: changelog creator for new releases
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-46511@lists.php.net to get a copy of this message
moin, for a long time I got in trouble every time I need to remember the syntax to dump the commits after a specific release. I have now made a bash script for that and wish to share with the ones that could be interested. This is specially useful when writing the changelog when making a new release. It would also be good to have the script and/or the cvs syntax published in the Manual. note that the script will create (or overwrite) a file called "changelog" in the actual dir. I named it "dumpchanges". If you have a better name or any update just let me know ;) Here it goes: #!/bin/bash if [ -z $1 ] || [ -z $2 ] || [[ $1 != "-r" && $1 != "-d" ]] ; then echo "usage: dumpchanges [-r|-d] parameter"
   echo "    -r    Select by release Tag"
   echo "    -d    Select by Date"
echo "example:"
   echo "    dumpchanges -r RELEASE_0_1_0"
   echo "    dumpchanges -d 2007-04-07"
exit fi if [ $1 == "-r" ]; then cvs log -NS -r$2:: > changelog else cvs log -NS -d>$2 > changelog fi

« previous php.pear.dev (#46511) next »