Ignore:
Timestamp:
Mar 2, 2010 10:03:30 AM (11 years ago)
Author:
bradbell
Message:

[cbks/trunk] Improve scripts that help with commits to repositories.

new_release.sh: fix errors in this script (and make executable).
ckbs.omh: update date so it corresponds to documentation.
copy_doc.sh:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • projects/ckbs/trunk/copy_doc.sh

    r77 r95  
    88# If this is the trunk, then update the version number
    99dir=`pwd | sed -e 's|.*/ckbs/||'`
    10 if [ "$dir" = "trunk" ]
     10if [ "$dir" != "trunk" ]
    1111then
    12         version=`date +%F | sed -e 's|-||g' -e 's|^|0.|'`
    13         #
    14         sed -i ckbs.omh -e "s/ckbs-[0-9.]\{10\}/ckbs-$version/"
     12        echo "copy_doc.sh: should only be run in the trunk."
     13        echo "For stable versions use ./build_doc.sh and commit changes in doc/*"
     14        exit 1
    1515fi
     16version=`date +%F | sed -e 's|-||g' -e 's|^|0.|'`
     17sed -i ckbs.omh -e "s/ckbs-[0-9.]\{10\}/ckbs-$version/"
    1618#
    1719if [ -e doc ]
Note: See TracChangeset for help on using the changeset viewer.