Difference between revisions of "Tag Source For Release"

From NST Wiki
Jump to navigationJump to search
 
Line 1: Line 1:
Use the ''svn cp'' command to create a branch of the files used for the release (a copy of "repo"). For example, if creating release '''28''' for subversion revision ''10234'':
+
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=28
+
   [nst@repo repo]$ VER=30
   [nst@repo repo]$ SVNVER=10234
+
   [nst@repo repo]$ SVNVER=11210
   [nst@repo repo]$ svn cp -m "Creating copy of source for release" ${SVNROOT}/repo/${VER} ${SVNROOT}/releases/${VER}-${SVNVER}
+
   [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 ...
 
   
 
   
 
   [nst@repo repo]$
 
   [nst@repo repo]$

Latest revision as of 10: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]$