----- First checkout a clean version of lon-capa that has just the tth module cvs -d :pserver:XXXXXX@zaphod.lite.msu.edu:/home/cvs co loncapa cd loncapa cvs -d co modules cd modules rm -r [adfgjmprs]* cbi_scripts cd ../.. ----- Set the new tag cvs tag version_2_6_X ----- bump the version cd loncom/build # only do this if version_2_6_X is not yet a branch cvs tag -F -b version_2_6_X Makefile cvs update -d -r version_2_6_X Makefile vi Makefile # change CVS_HEAD to 2.5.99.0 cvs commit Makefile cd ../.. ----- backport the Groups commenting out cd loncom/interface # only do this if version_2_6_X is not yet a branch cvs tag -F -b version_2_6_X lonpickcourse.pm loncreatecourse.pm cvs update -r version_2_6_X lonpickcourse.pm loncreatecourse.pm cvs diff -u -r 1.63 -r 1.63.4.1 lonpickcourse.pm | patch cvs diff -u -r 1.103 -r 1.103.2.1 loncreatecourse.pm | patch cvs commit lonpickcourse.pm loncreatecourse.pm cd ../.. ----- check that all files are included cd loncom/build make build make tardist make clean cd ../.. find -type f > all_files cat MANIFEST all_files | grep -v CVS | sort | uniq -c | grep -v '^\s*2' > only_one #read through only_one and add missing files to the loncapafiles.lpml ----- build the tarball cd loncom/build make build scp ../../README make tardist cd ../.. scp loncapa-2.5.99.0.tar.gz root@install.loncapa.org:/home/loninst/public_html/versions/loncapa-2.5.99.0.tar.gz ssh root@install.loncapa.org cd /home/loninst/public_html/versions/ # install the tarball on test machines, when things break patch, # move the version_2_6_X tag and repeat the above until the tarball is good. ----- Announce it # tag with final release tag cd loncapa cvs tag version_2_5_99_0 # update the release fragment cd loncapa/doc/build vi release.frag cvs commit release.frag ssh zaphod.lite.msu.edu -l root cd /home/loninst/public_html/versions # if this is a testing release rm LATEST-TESTING-IS-* echo 'November 30 2007' > LATEST-TESTING-IS-2.5.99.0 rm loncapa-testing.tar.gz ln -s loncapa-2.5.99.0.tar.gz loncapa-testing.tar.gz # else if this is a full release rm LATEST-* echo 'November 30 2007' > LATEST-IS-2.6.0 rm loncapa-testing.tar.gz rm loncapa-current.tar.gz ln -s loncapa-2.6.0.tar.gz loncapa-current.tar.gz # rebuild website su loninst /home/loninst/auto/install_web_site_cronjob # check that install.loncapa.org looks right # send email to lon-capa-announce, lon-capa-admin