Creating a Release Tag

  • Revision slug: Creating_a_Release_Tag
  • Revision title: Creating a Release Tag
  • Revision id: 100861
  • Created:
  • Creator: Yoshino
  • Is current revision? No
  • Comment Migration (http://www.mozilla.org/build/cvs-tag.html)

Revision Content

Here are directions for creating a release from a linux system. Note that there are a couple of extra files for Win32 and Macintosh that aren't pulled by the normal script and need to be pulled by hand. The mini-branch is created so you can check in the build scripts with the necessary changes without touching the original branch.

  1. Check out Mozilla from the branch you want to tag. Remember to also check out extra Mac and Win32 files that aren't normally checked out on linux or the tag won't build on those platforms.
    cvs co -r NETSCAPE_6_2_RELEASE mozilla/client.mk 
    cd mozilla
    gmake -f client.mk checkout
    
  2. Create a Mini Branch for the pull scripts on all three platforms so we can change them without changing anything on the original branch.
    cd ..
    cvs tag -b MOZILLA_0_9_4_1_RELEASE_MINI_BRANCH mozilla/client.mk 
    
  3. Delete the existing build scripts and repull them from the mini-branch you just created.
    rm mozilla/client.mk
    cvs co -r MOZILLA_0_9_4_1_RELEASE_MINI_BRANCH mozilla/client.mk
    
  4. In each of the build scripts find the variables defining the branch and change it from the branch you originally pulled from to the new tag you are creating.
    mozilla/client.mk
    
  5. Check the build scripts back in to the mini-branch.
    cvs ci mozilla/client.mk 
    
  6. Create the tag.
    find . -type d \! -name CVS | xargs -l -P10 cvs tag  -l MOZILLA_0_9_4_1_RELEASE >& ../taglog
    

Original Document Information

  • Author(s): Dawn Endico
  • Last Updated Date: November 1, 2005
  • Copyright Information: Portions of this content are © 1998–2007 by individual mozilla.org contributors; content available under a Creative Commons license | Details.

Revision Source

<p>
Here are directions for creating a release from a linux system. Note that there are a couple of extra files for Win32 and Macintosh that aren't pulled by the normal script and need to be pulled by hand. The mini-branch is created so  you can check in the build scripts with the necessary changes without touching the original branch.
</p>
<ol>
<li>
Check out Mozilla from the branch you want to tag. Remember to also check out extra Mac and Win32 files that aren't normally checked out on linux or the tag won't build on those platforms.
<pre>cvs co -r NETSCAPE_6_2_RELEASE mozilla/client.mk 
cd mozilla
gmake -f client.mk checkout
</pre>
</li>
<li>
Create a Mini Branch for the pull scripts on all three platforms so we can change them without changing anything on the original branch.
<pre>cd ..
cvs tag -b MOZILLA_0_9_4_1_RELEASE_MINI_BRANCH mozilla/client.mk 
</pre>
</li>
<li>
Delete the existing build scripts and repull them from the mini-branch you just created.
<pre>rm mozilla/client.mk
cvs co -r MOZILLA_0_9_4_1_RELEASE_MINI_BRANCH mozilla/client.mk
</pre>
</li>
<li>
In each of the build scripts find the variables defining the branch and change it from the branch you originally pulled from to the new tag you are creating.
<pre>mozilla/client.mk
</pre>
</li>
<li>
Check the build scripts back in to the mini-branch.
<pre>cvs ci mozilla/client.mk 
</pre>
</li>
<li>
Create the tag.
<pre>find . -type d \! -name CVS | xargs -l -P10 cvs tag  -l MOZILLA_0_9_4_1_RELEASE &gt;&amp; ../taglog
</pre>
</li>
</ol>
<div class="originaldocinfo">
<h2 name="Original_Document_Information"> Original Document Information </h2>
<ul><li> Author(s): Dawn Endico
</li><li> Last Updated Date: November 1, 2005
</li><li> Copyright Information: Portions of this content are © 1998–2007 by individual mozilla.org contributors; content available under a Creative Commons license | <a class="external" href="http://www.mozilla.org/foundation/licensing/website-content.html">Details</a>.
</li></ul>
</div>
Revert to this revision