Ignore:
Timestamp:
Feb 28, 2010 10:32:03 AM (11 years ago)
Author:
bradbell
Message:

[ckbs/trunk] Move ckbs.omh so file names are releative to trunk directory.

ckbs.omh: move to trunk directory.
ckbs.omh: move from omh subdirectory, OMhelp path commands no longer needed.
copy_doc.sh: change omh/ckbs.omh to ckbs.omh.
new_stable.sh: change omh/ckbs.omh to ckbs.omh.
build_doc.sh: change omh/ckbs.omh to ckbs.omh.

File:
1 edited

Legend:

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

    r74 r77  
    66# License: GNU General Public License Version 2
    77# ----------------------------------------------------------------------------
    8 echo "Current revision number = "
    9 rev=`svn info --revision HEAD | grep '^Revision:' | sed -e 's|^Revision: *||'`
    10 echo "$rev"
     8echo "Getting current revision number"
     9rev_trunk=`svn info --revision HEAD | \
     10        grep '^Revision:' | sed -e 's|^Revision: *||'`
     11rev_stable=`expr $rev_trunk + 1`
     12rev_release=`expr $rev_trunk + 2`
     13echo "rev_trunk=$rev_trunk, rev_stable=$rev_stable, rev_release=$rev_release"
     14#
    1115stable_version=`date +%F |sed -e 's/-//g' -e 's|^|0.|'`
    1216repository="https://projects.coin-or.org/svn/CoinBazaar/projects/ckbs"
     
    2226        exit 1
    2327fi
    24 doc_version=`grep '$section' omh/ckbs.omh | \
     28doc_version=`grep '$section' ckbs.omh | \
    2529        sed -e 's|.*ckbs-\([0-9.]\{10\}\).*|\1|'`
    2630if [ "$doc_version" != "$stable_version" ]
     
    3438# create the new stable version
    3539msg="[ckbs/stable] Create ckbs/stable/$stable_version
    36 from ckbs/trunk at revision $rev."
     40from ckbs/trunk at revision $rev_stable."
    3741echo "svn copy $rep_trunk $rep_stable -m \"$msg\""
    3842if ! svn copy  $rep_trunk $rep_stable -m "$msg"
     
    4448# create the new release version
    4549msg="[ckbs/releases] Create ckbs/releases/$stable_version.0
    46 from ckbs/stable/$stable_version at revision $rev."
     50from ckbs/stable/$stable_version at revision $rev_release."
    4751echo "svn copy $rep_stable $rep_release -m \"$msg\""
    4852if ! svn copy  $rep_stable $rep_release -m "$msg"
Note: See TracChangeset for help on using the changeset viewer.