You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2013/12/08 18:37:15 UTC

svn commit: r1549076 - /maven/site/trunk/content/apt/developers/website/deploy-component-reference-documentation.apt

Author: hboutemy
Date: Sun Dec  8 17:37:15 2013
New Revision: 1549076

URL: http://svn.apache.org/r1549076
Log:
added variable to sample commands to ease understanding since svnpubsub root url is quite long

Modified:
    maven/site/trunk/content/apt/developers/website/deploy-component-reference-documentation.apt

Modified: maven/site/trunk/content/apt/developers/website/deploy-component-reference-documentation.apt
URL: http://svn.apache.org/viewvc/maven/site/trunk/content/apt/developers/website/deploy-component-reference-documentation.apt?rev=1549076&r1=1549075&r2=1549076&view=diff
==============================================================================
--- maven/site/trunk/content/apt/developers/website/deploy-component-reference-documentation.apt (original)
+++ maven/site/trunk/content/apt/developers/website/deploy-component-reference-documentation.apt Sun Dec  8 17:37:15 2013
@@ -110,12 +110,30 @@ mvn scm-publish:publish-scm
 
  This is done with operations on website production svn area, either with <<<svn>>> command:
 
+ * Unix:
+
++----------+
+SVNPUBSUB=https://svn.apache.org/repos/infra/websites/production/maven/content
+
+svn cp $SVNPUBSUB/xxx-archives/yyy-LATEST $SVNPUBSUB/xxx-archives/yyy-$version
+
+svn rm $SVNPUBSUB/xxx/yyy
+svn cp $SVNPUBSUB/xxx-archives/yyy-$version $SVNPUBSUB/xxx/yyy
++----------+
+
+ * Windows:
+
 +----------+
-svn cp https://svn.apache.org/repos/infra/websites/production/maven/content/xxx-archives/yyy-LATEST https://svn.apache.org/repos/infra/websites/production/maven/content/xxx-archives/yyy-$version
-svn rm https://svn.apache.org/repos/infra/websites/production/maven/content/xxx/yyy
-svn cp https://svn.apache.org/repos/infra/websites/production/maven/content/xxx-archives/yyy-$version https://svn.apache.org/repos/infra/websites/production/maven/content/xxx/yyy
+set SVNPUBSUB=https://svn.apache.org/repos/infra/websites/production/maven/content
+
+svn cp %SVNPUBSUB%/xxx-archives/yyy-LATEST %SVNPUBSUB%/xxx-archives/yyy-$version
+
+svn rm %SVNPUBSUB%/xxx/yyy
+svn cp %SVNPUBSUB%/xxx-archives/yyy-$version %SVNPUBSUB%/xxx/yyy
 +----------+
 
+ []
+
  or with {{{http://svnbook.red-bean.com/en/1.8/svn.ref.svnmucc.re.html}<<<svnmucc>>> command}}:
 
 +----------+