]>
git.refcnt.org Git - colorize.git/blob - release.sh
2 source_file
="colorize.c"
4 echo "Setting version for $source_file"
5 perl
-i -pe 's/(?<=#define VERSION ")([^"]+)(?=")/$1+0.01/e' $source_file
6 echo "Setting version for $man_file"
7 perl
-i -pe 's/(?<=\.TH COLORIZE 1 "\d{4}-\d{2}-\d{2}" "colorize v)([^"]+)(?=")/$1+0.01/e' $man_file