db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian McCallister <bri...@apache.org>
Subject Release HOWTO
Date Tue, 05 Apr 2005 14:21:00 GMT
Very rough form, but what to do in order to push a release

Making a Release
- [ ] Update for the current branch of HEAD
     - [ ] "cvs up -dP 2>&1 | egrep ^[\?]" is a useful command for this
- [ ] Tag the release
     - [ ] Tag naming conventions are OJB_MAJOR_MINOR_BUILD
     - [ ] cvs tag TAG_NAME
- [ ] Remove any jars not in CVS
- [ ] Ensure you have jdo.jar in your lib directory
- [ ] Ensure you have the most recent Apache Forrest installed
     - [ ] forrest.apache.org <http://forrest.apache.org/>
- [ ] Update the major/minor/build properties in build.properties to
       reflect version
     - [ ] major.minor.build is the scheme
- [ ] Update the versiondate property in build.properties
- [ ] Do a CVS checkin of the build.properties
- [ ] Copy the xml-commons-resolver jar file into your ant classpath
     - [ ] ie, ~/.ant/lib/
- [ ] ant clean
- [ ] ant release
- [ ] cd dist
     - [ ] md5sum each file (following ruby script may help)
               #!/usr/bin/env ruby

               # execute "find . | xargs md5sum > md5sums" in the dist/  
directory first
               # create and run this script from the dist/ directory as  
well
               File.open('md5sums', 'r') do |file|
                 file.each do |line|
                   hash, name = line.split "  ./"
                   unless name =~ /md5/ or name =~ /gpg/ or name =~ /asc/
                     File.open("#{name.chomp}.md5", "w") do |out|
                       out.puts hash
                     end
                   end
                 end
               end
     - [ ] gpg sign each file
               The following bash script may help

               for x in $(find . | egrep -v md5 | egrep -v gpg | egrep 
-v asc); do   gpg --armor --detach-sign $x; done
- [ ] create a temp dir on minotaur
- [ ] scp everything in dist/ to that temp dir (inlcuding the .asc and
       .md5 files)
- [ ] ssh up to minotaur
- [ ] cd temp
- [ ] "mkdir /www/mkdir /www/www.apache.org—db-ojb-
       <http://www.apache.org/dist/db/ojb/db-ojb->[VERSION]"
- [ ] cp * /www/www.apache.org—db-ojb-1.0.2
       <http://www.apache.org/dist/db/ojb/db-ojb-1.0.2>/
- [ ] cd ../
- [ ] mkdir ojb-VERSION
- [ ] cp temp/db-ojb-VERSION-website.tgz ./ojb-VERSION
- [ ] cd ojb-VERSION
- [ ] tar -zxvf db-ojb-*
     - [ ] It unpacks in directory you are in, ick
- [ ] cd /www/db.apache.org/
- [ ] cp -r ~/ojb-VERSION .
- [ ] mv ojb ojb.[OLD VERSION] && mv ojb.[VERSION] ojb


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message