Calendar:HowToRelease: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
= Release Process =  
= Release Process =  
1. Create a branch from the branch you are releasing from this creates a SUNBIRD_0_5_BRANCH from the MOZILLA_1_8_BRANCH, you also need to note the time this was done.
== Create a branch ==
1. Create a branch from the branch you are releasing from this creates a SUNBIRD_0_5_BRANCH from the MOZILLA_1_8_BRANCH, you also need to note the time this was done on a page like [[Calendar:Release:Sunbird_0.5]].
<pre>
<pre>
cvs rtag -r MOZILLA_1_8_BRANCH -b SUNBIRD_0_5_BRANCH mozilla
cvs rtag -r MOZILLA_1_8_BRANCH -b SUNBIRD_0_5_BRANCH mozilla
Note time this is done: May 22, 21:37 CDT</pre>
Note time this is done: May 22, 21:37 CDT</pre>
2. Test that the branch was properly created by checking out from the branch.
2. Test that the branch was properly created by checking out from the branch.
<pre> cvs co -r SUNBIRD_0_5_BRANCH mozilla/calendar </pre>
<pre> cvs co -r SUNBIRD_0_5_BRANCH mozilla/calendar </pre>


3. Do the "Bump the version number" step next
== Change the Version Number ==
* You check out the branch you just created - use standard "check out code from mozilla cvs method", just substitute in the new branch for your branch parameter
* You check out the branch you just created - use standard "check out code from mozilla cvs method", just substitute in the new branch for your branch parameter
* On this branch, you change the follwing:
* On this branch, you change the follwing:
Line 15: Line 15:
* cvs -d ${CVSROOT} co -r SUNBIRD_0_5_BRANCH\
* cvs -d ${CVSROOT} co -r SUNBIRD_0_5_BRANCH\
  mozilla/calendar/sunbird/app/module.ver mozilla/calendar/sunbird/config/version.txt
  mozilla/calendar/sunbird/app/module.ver mozilla/calendar/sunbird/config/version.txt
 
'''create minibranch'''
==Create a minibranch==
<pre>
<pre>
cvs tag -b SUNBIRD_0_5_MINIBRANCH calendar/sunbird/app/module.ver \
cvs tag -b SUNBIRD_0_5_MINIBRANCH calendar/sunbird/app/module.ver \
Line 27: Line 27:
* remove firefox stuff from calendar/lightning/install.rdf
* remove firefox stuff from calendar/lightning/install.rdf


'''' Tag the release '''
== Tag the release ==
* run "date" before you start and use this as date stamp.
* run "date" before you start and use this as date stamp.
<pre>
<pre>

Revision as of 04:34, 23 May 2007

Release Process

Create a branch

1. Create a branch from the branch you are releasing from this creates a SUNBIRD_0_5_BRANCH from the MOZILLA_1_8_BRANCH, you also need to note the time this was done on a page like Calendar:Release:Sunbird_0.5.

cvs rtag -r MOZILLA_1_8_BRANCH -b SUNBIRD_0_5_BRANCH mozilla
Note time this is done: May 22, 21:37 CDT

2. Test that the branch was properly created by checking out from the branch.

 cvs co -r SUNBIRD_0_5_BRANCH mozilla/calendar 

Change the Version Number

  • You check out the branch you just created - use standard "check out code from mozilla cvs method", just substitute in the new branch for your branch parameter
  • On this branch, you change the follwing:
   *  calendar/sunbird/app/module.ver
   * calendar/sunbird/config/version.txt
  • cvs -d ${CVSROOT} co -r SUNBIRD_0_5_BRANCH\
mozilla/calendar/sunbird/app/module.ver mozilla/calendar/sunbird/config/version.txt

Create a minibranch

cvs tag -b SUNBIRD_0_5_MINIBRANCH calendar/sunbird/app/module.ver \
 calendar/sunbird/config/version.txt
cvs up -r SUNBIRD_0_5_MINIBRANCH calendar/sunbird/app/module.ver \
 calendar/sunbird/config/version.txt
cvs ci -m"bumping version number on calendar/sunbird on minibranch only"
  • remove firefox stuff from calendar/lightning/install.rdf

Tag the release

  • run "date" before you start and use this as date stamp.
screen
cd .. (one up from mozilla)
mkdir -p tags/SUNBIRD_0_5_RC1
cd tags && ln -s SUNBIRD_0_5_RC1 SUNBIRD_0_5_RELEASE && \
  ln -s SUNBIRD_0_5_RC1 SUNBIRD_0_5_RELEASE
  
 cvs co \
 -r $BRANCH_TAG \
 -D "$PULL_DATE" \
 mozilla/client.mk
 becomes: cvs co -r SUNBIRD_0_5_BRANCH -D "2007-05-23 04:00 +0000" mozilla/client.mk