Annotation of doc/build/release_process, revision 1.2

1.1       albertel    1: ----- First checkout a clean version of lon-capa that has just the tth module
                      2: 
                      3: cvs -d :pserver:XXXXXX@zaphod.lite.msu.edu:/home/cvs co loncapa
                      4: cd loncapa
                      5: cvs -d co modules
                      6: cd modules
                      7: rm -r [adfgjmprs]* cbi_scripts
                      8: cd ../..
                      9: 
                     10: ----- Set the new tag
                     11: 
                     12: cvs tag version_2_6_X
                     13: 
                     14: ----- bump the version
                     15: 
                     16: cd loncom/build
                     17: 
                     18: # only do this if version_2_6_X is not yet a branch
                     19: cvs tag -F -b version_2_6_X Makefile
                     20: 
                     21: cvs update -d -r version_2_6_X Makefile
                     22: vi Makefile
                     23: # change CVS_HEAD to 2.5.99.0
                     24: cvs commit Makefile
                     25: cd ../..
                     26: 
                     27: ----- backport the Groups commenting out
                     28: 
                     29: cd loncom/interface
                     30: 
                     31: # only do this if version_2_6_X is not yet a branch
                     32: cvs tag -F -b version_2_6_X lonpickcourse.pm loncreatecourse.pm
                     33: 
                     34: cvs update -r version_2_6_X lonpickcourse.pm loncreatecourse.pm
                     35: 
                     36: cvs diff -u -r 1.63 -r 1.63.4.1 lonpickcourse.pm | patch
                     37: cvs diff -u -r 1.103 -r 1.103.2.1 loncreatecourse.pm | patch
                     38: 
                     39: cvs commit lonpickcourse.pm loncreatecourse.pm
                     40: 
                     41: cd ../..
                     42: 
                     43: ----- check that all files are included
                     44: 
                     45: cd loncom/build
                     46: make build
                     47: make tardist
                     48: make clean
                     49: cd ../..
                     50: find -type f > all_files
                     51: cat MANIFEST all_files | grep -v CVS | sort | uniq -c | grep -v '^\s*2' > only_one
                     52: #read through only_one and add missing files to the loncapafiles.lpml
                     53: 
                     54: 
                     55: ----- build the tarball
                     56: 
                     57: cd loncom/build
                     58: make build
                     59: scp <where the release notes are> ../../README
                     60: make tardist
                     61: cd ../..
                     62: scp loncapa-2.5.99.0.tar.gz root@install.loncapa.org:/home/loninst/public_html/versions/loncapa-2.5.99.0.tar.gz
                     63: ssh root@install.loncapa.org
                     64: cd /home/loninst/public_html/versions/
                     65: 
                     66: # install the tarball on test machines, when things break patch,
                     67: # move the version_2_6_X tag and repeat the above until the tarball is good.
                     68: 
                     69: 
                     70: ----- Announce it
                     71: 
                     72: # tag with final release tag
                     73: cd loncapa
                     74: cvs tag version_2_5_99_0
                     75: 
                     76: # update the release fragment
                     77: cd loncapa/doc/build
                     78: vi release.frag
                     79: cvs commit release.frag
                     80: 
                     81: ssh zaphod.lite.msu.edu -l root
                     82: cd /home/loninst/public_html/versions
                     83: # if this is a testing release
1.2     ! raeburn    84:    rm LATEST-TESTING-IS-*
1.1       albertel   85:    echo 'November 30 2007' > LATEST-TESTING-IS-2.5.99.0
                     86:    rm loncapa-testing.tar.gz
                     87:    ln -s loncapa-2.5.99.0.tar.gz loncapa-testing.tar.gz
                     88: 
                     89: # else if this is a full release
1.2     ! raeburn    90:    rm LATEST-*
1.1       albertel   91:    echo 'November 30 2007' > LATEST-IS-2.6.0
                     92:    rm loncapa-testing.tar.gz
                     93:    rm loncapa-current.tar.gz
1.2     ! raeburn    94:    ln -s loncapa-2.6.0.tar.gz loncapa-current.tar.gz
1.1       albertel   95: 
                     96: # rebuild website
                     97: su loninst
                     98: /home/loninst/auto/install_web_site_cronjob
                     99: 
                    100: # check that install.loncapa.org looks right
1.2     ! raeburn   101: # send email to lon-capa-announce, lon-capa-admin
        !           102: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>