Difference between revisions of "Tag Source For Release"

From NST Wiki
Jump to navigationJump to search
 
(5 intermediate revisions by the same user 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}/releases/2.13.0
 
 
... output from branch creation ...
 
 
[root@nst-dev-32 repo]#
 
 
If you are creating a maintenance release (a new ISO to include updated packages so people won't need to ''yum update'' so many files), you should make a copy of the files under the ''maintenance'' area. For example (the 1720 represents the subversion revision when the ISO was created):
 
  
[root@nst-dev-32 repo]# svn cp ${SVNROOT}/trunk ${SVNROOT}/maintenance/2.13.0-1702
+
  [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]$