Changes between Version 19 and Version 20 of HowToUseVersionControlSystem


Ignore:
Timestamp:
07/07/11 14:59:58 (6 years ago)
Author:
souchaud@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToUseVersionControlSystem

    v19 v20  
    122122 
    123123=== Tagging === 
    124 1. The first step, before tagging, is to update all ChangeLog file very a pretty tool : ''''svn2cl'''' 
     124 
     1251. First, before tagging, set the correct version number : 
    125126{{{ 
    126 for i in `find ./ -name "ChangeLog"`; do 
    127  DIR=`dirname $i`; 
    128  cd $DIR; svn2cl -i; 
    129  cd -; 
    130 done 
     127cd trunk && ./setVersionNumber.sh 0.15.0 
     128# Verify that compilation and archive creation process work fine with this updated version of '''trunk''' 
     129cd .. && svn export trunk/ test-trunk-linux && cd test-trunk-linux && ./bootstrap && ./configure && make && make distcheck && cd .. 
     130svn commit -m "Changed version number to 0.15.0." 
    131131}}} 
    132132 
    133 2. Edit all ''''configure.ac'''' files to set the new release version  
     1332. Then, you can now tag your new version with following commands 
    134134{{{ 
    135 for i in `find ./ -name 'configure.ac'`; do 
    136   sed -e "s:\[0.11.2\]:[0.11.3]:" $i > $i.sed && mv $i.sed $i; 
    137 done 
    138 }}} 
    139  
    140 3. Verify that compilation and archive creation process work fine with this updated version of '''trunk''' 
    141 {{{ 
    142 ./bootstrap 
    143 mkdir build && cd build 
    144 ../configure 
    145 make 
    146 make distcheck 
    147 cd - 
    148 }}} 
    149  
    150 3. You can now commit these modifications 
    151 {{{ 
    152 svn ci -m 'Next release (0.11.3) preparation.' 
    153 }}} 
    154  
    155 4. Finally, you can now tag your new version with following commands 
    156 {{{ 
    157 cd .. 
    158 svn copy trunk tags/openturns-0.11.3 
    159 svn ci -m 'TAG: This is official release 0.11.3.' 
     135svn copy trunk https://svn.openturns.org/openturns/tags/openturns-0.15.0 -m 'TAG: This is official release 0.15.0.' 
     136# or svn copy trunk https://svn.openturns.org/openturns/tags/openturns-0.15.0rc1 -m 'TAG: This is pre-release 0.15.0rc1.' 
    160137}}} 
    161138