masqmail-0.2
annotate misc/list-versions @ 188:407874c88cf0
Added tag 0.2.30 for changeset 9c3765e1171b
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Sat, 27 Aug 2011 18:50:59 +0200 |
parents | |
children |
rev | line source |
---|---|
meillo@170 | 1 #!/bin/sh |
meillo@170 | 2 # |
meillo@170 | 3 # list the version numbers in several important files |
meillo@170 | 4 # run this script before generating a release |
meillo@170 | 5 |
meillo@170 | 6 ( |
meillo@170 | 7 grep '^AC_INIT' /dev/null configure.* |
meillo@170 | 8 printf "Changelog:" |
meillo@170 | 9 sed -n '/^[0-9]\.[0-9]\{1,\}\.[0-9]\{1,\}/{p;q}' ChangeLog |
meillo@170 | 10 printf "NEWS:" |
meillo@170 | 11 sed -n '/^[0-9]\.[0-9]\{1,\}\.[0-9]\{1,\}/{p;q}' NEWS |
meillo@170 | 12 grep '^\.TH' /dev/null man/*.[0-9] |
meillo@170 | 13 ) | sed 's~\([^:]*\):.*\([0-9]\.[0-9]\{1,\}\.[0-9]\{1,\}\).*~\2 \1~' |