Changeset 634 in MondoRescue for branches/2.0.8/tools/mknewtag


Ignore:
Timestamp:
Jun 7, 2006, 3:08:34 PM (18 years ago)
Author:
bcornec
Message:
  • Fix a bug in -I and -E handling !!
  • mknewtag now checks that Changelog are up to date
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0.8/tools/mknewtag

    r614 r634  
    3535nb=`svn diff $TOOLHOME/.. | wc -l`
    3636if [ $nb -gt 0 ]; then
    37     echo "You'll have to check in order before updating the TAG"
     37    echo "You'll have to check in before updating the TAG"
    3838    echo "$TAG" > $TOOLHOME/TAG
    3939else
     40    for p in mindi mondo; do
     41        grep -q "${VER}-${TAG}" $TOOLHOME/../$p/Changelog
     42        if [ $? -ne 0 ]; then
     43            echo "You'll have to document in ${p}'s Changelog for ${VER}-${TAG} related modifications"
     44            exit -1
     45        fi
     46    done
    4047    echo "$TAG" > $TOOLHOME/TAG
    4148    (cd $TOOLHOME/.. ; svn ci -m "Automatic update of TAG to $TAG" ; svn up)
Note: See TracChangeset for help on using the changeset viewer.