5 $0, to update version information a Debian changelog
6 usage: $0 CHANGELOG VERSION
8 This utility checks whether CHANGELOG, which should be a Debian changelog
9 file, contains a record for VERSION. If not, then it adds one at the top.
16 if test ! -e "$CHANGELOG"; then
17 echo "$0: $CHANGELOG does not exist (use --help for help"
21 if grep '('$VERSION')' debian/changelog >/dev/null 2>&1; then
24 echo "Adding change log record for $VERSION to $CHANGELOG"
27 openvswitch ($VERSION) unstable; urgency=low
29 * New upstream version.
31 -- Open vSwitch team <dev@openvswitch.org> `date -u +"%a, %d %b %Y %H:%M:%S +0000"`
36 mv "$CHANGELOG".new "$CHANGELOG"