poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From one...@apache.org
Subject svn commit: r1781341 - /poi/site/src/documentation/release-guide.txt
Date Thu, 02 Feb 2017 01:03:44 GMT
Author: onealj
Date: Thu Feb  2 01:03:44 2017
New Revision: 1781341

URL: http://svn.apache.org/viewvc?rev=1781341&view=rev
Log:
designate shell code as {code:sh} in markdown

Modified:
    poi/site/src/documentation/release-guide.txt

Modified: poi/site/src/documentation/release-guide.txt
URL: http://svn.apache.org/viewvc/poi/site/src/documentation/release-guide.txt?rev=1781341&r1=1781340&r2=1781341&view=diff
==============================================================================
--- poi/site/src/documentation/release-guide.txt (original)
+++ poi/site/src/documentation/release-guide.txt Thu Feb  2 01:03:44 2017
@@ -94,8 +94,8 @@
       out will cause the executable bit to be set for them on filesystems
       which support it. The flag can be removed in batch using
 
-{code}
-$ svn pd 'svn:executable' $(find -name .svn -prune -or -type f ! -name \*.sh \
+{code:sh}
+svn pd 'svn:executable' $(find -name .svn -prune -or -type f ! -name \*.sh \
  -print0 | xargs -0 svn pg 'svn:executable' | cut -d ' ' -f 1)
 {code}
 
@@ -119,20 +119,20 @@ $ svn pd 'svn:executable' $(find -name .
 
   1. The following command will update the documentation and create/download the tag (needs
a Java7+ environment)
      using your Apache credentials stored in ~/.m2/settings.xml.
-     {code}
+     {code:sh}
      ant -Dversion.id=FIXME3.15-beta2 release-prep1 (beta release)
      ant -Dversion.id=FIXME3.15 release-prep1 (final release)
      {code}
 
   2. Compile the dist (needs a JDK6 environment, sudo update-alternatives --config java)
-     {code}
+     {code:sh}
      ant release-prep2
      {code}
 
   3. Upload to the nexus repo and to the svn release candidate repo  (needs a Java7+ environment)
      The nexus repo is located at https://repository.apache.org/
      The release candidate repo is located at https://dist.apache.org/repos/dist/dev/poi/(3.15-beta2-RC1)
-     {code}
+     {code:sh}
      ant -Dversion.id=FIXME3.15-beta2 -Drelease.rc=RC1 release-prep3
      {code}
 
@@ -144,7 +144,7 @@ $ svn pd 'svn:executable' $(find -name .
 
 Check your signed files
 
-{code}
+{code:sh}
 find . -name "*.md5" -type f -execdir md5sum -c {} \;
 find . -name "*.sha1" -type f -execdir sha1sum -c {} \;
 find . -name "*.asc" -exec gpg --no-secmem-warning --verify {} \;
@@ -169,7 +169,7 @@ Perform a sparse checkout of the dist re
 In the following example, replace FIXME3.16-beta2-RC1 or FIXME3.16-beta2 with the version
you are releasing
 
 For a beta release:
-{code}
+{code:sh}
 svn checkout https://dist.apache.org/repos/dist/ --depth immediates
 svn update --set-depth immediates dist/dev/poi/
 svn update --set-depth infinity   dist/dev/poi/FIXME3.16-beta2-RC1/
@@ -186,7 +186,7 @@ svn checkin dist/ -m "deploy 3.16-beta2
 {code}
 
 For a final release:
-{code}
+{code:sh}
 svn checkout https://dist.apache.org/repos/dist/ --depth immediates
 svn update --set-depth immediates dist/dev/poi/
 svn update --set-depth infinity   dist/dev/poi/FIXME3.16-RC1/
@@ -206,9 +206,9 @@ svn checkin dist/ -m "deploy 3.16 releas
 And remove any old releases from the staging area if they exist (should have been deleted
by Step 11)
 Staging area: https://dist.apache.org/repos/dist/dev/poi/
 
-{code}
+{code:sh}
 svn rm https://dist.apache.org/repos/dist/dev/poi/FIXME3.16-beta1-RC1 -m "remove old release
from staging area"
-{code}
+{code:sh}
 
 You should get an email from the Apache Reporter Service (no-reply@reporter.apache.org)
 at your Apache email address.
@@ -230,8 +230,8 @@ Refresh to verify that the artifacts are
 Create a simple project and make sure the release artifacts are accessible
 by maven:
 
-{code}
-$ mvn archetype:create -DgroupId=org.apache.poi.scratchpad -DartifactId=maven-test
+{code:sh}
+mvn archetype:create -DgroupId=org.apache.poi.scratchpad -DartifactId=maven-test
 cd maven-test
 {code}
 
@@ -259,7 +259,7 @@ import org.apache.poi.ss.usermodel.Workb
 public class Test {}
 {code}
 
-{code}
+{code:sh}
 mvn compile
 {code}
 
@@ -272,7 +272,7 @@ the jars could be downloaded fine.
 
 5. Edit the website download page, and list the new release there. This should
    reference the checksums, so take care when updating
-{code}
+{code:sh}
 # the following generates a download-snipplet.xml to be copy&pasted in the download.xml
 ant update-download -Dversion.id="3.15-beta2" -Dreltype=dev -Drel_date="02 July 2016" -Dfile_date="20160702"
 {code}
@@ -315,6 +315,6 @@ Note, announcements should be sent from
 11. Delete directory that held RC.
 
 e.g.
-{code}
+{code:sh}
 svn delete -m "delete empty RC directory for 3.10-beta2" https://dist.apache.org/repos/dist/dev/poi/3.10-beta2-RC1
 {code}



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message