Difference between revisions of "Tag Source For Release"

From NST Wiki
Jump to navigationJump to search
(Updated with release and maintenance areas)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Use the ''svn cp'' command to create a branch of the files used for the release (a copy of "trunk"). For example, if creating release '''2.13.0''':
+
Use the ''svn cp'' command to create a branch of the files used for the release (a copy of "repo"). For example:
 
 
[root@nst-dev-32 repo]# svn cp ${SVNROOT}/trunk ${SVNROOT}/release/2.13.0
 
 
... output from branch creation ...
 
 
[root@nst-dev-32 repo]#
 
 
 
If you plan on changing the base operating system on the trunk after the release (for example moving from ''Fedora 13'' to ''CentOS 6''), you should also make a copy of the files under the ''maintenance'' area. For example:
 
  
  
[root@nst-dev-32 repo]# svn cp ${SVNROOT}/trunk ${SVNROOT}/maintenance/2.13.0
+
  [nst@repo repo]$ VER=30
 +
  [nst@repo repo]$ SVNVER=11210
 +
  [nst@repo repo]$ svn cp -m "Creating copy of source for ${VER}-${SVNVER} release" ${SVNROOT}/repo/${VER} ${SVNROOT}/releases/${VER}-${SVNVER}
 
   
 
   
 
  ... output from branch creation ...
 
  ... output from branch creation ...
 
   
 
   
[root@nst-dev-32 repo]#
+
  [nst@repo repo]$

Latest revision as of 11:57, 16 July 2019

Use the svn cp command to create a branch of the files used for the release (a copy of "repo"). For example:


 [nst@repo repo]$ VER=30
 [nst@repo repo]$ SVNVER=11210
 [nst@repo repo]$ svn cp -m "Creating copy of source for ${VER}-${SVNVER} release" ${SVNROOT}/repo/${VER} ${SVNROOT}/releases/${VER}-${SVNVER}

... output from branch creation ...

 [nst@repo repo]$