You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2018/01/03 14:52:13 UTC

[isis] 04/06: ISIS-1465: further improvements to publish pom.xml

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git

commit cac256449da1499fdacda5afbd59f2f2f8c656c7
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Wed Jan 3 13:46:40 2018 +0000

    ISIS-1465: further improvements to publish pom.xml
---
 adocs/documentation/pom.xml | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/adocs/documentation/pom.xml b/adocs/documentation/pom.xml
index db56ce1..86ed7de 100644
--- a/adocs/documentation/pom.xml
+++ b/adocs/documentation/pom.xml
@@ -367,11 +367,26 @@
 
                                         <echo message=""/>
                                         <echo message=""/>
-                                        <echo message="copying from ${isis-site-latest.dir} to ${isis-site-content.dir}"/>
+                                        <echo message="copying from ${isis-site-latest.dir} to ${isis-site-content.dir}/versions/SNAPSHOT"/>
                                         <echo message=""/>
-                                        <copy todir="${isis-site-content.dir}" overwrite="true" force="true">
+                                        <copy todir="${isis-site-content.dir}/versions/SNAPSHOT" overwrite="true" force="true">
                                             <fileset dir="${isis-site-latest.dir}"/>
                                         </copy>
+                                        <echo message=""/>
+                                        <echo message=""/>
+                                        <echo message="TO COMPLETE:"/>
+                                        <echo message=""/>
+                                        <echo message="1. copy either the 'current' or 'SNAPSHOT' back to ./content directory"/>
+                                        <echo message="   a) cp -r content/versions/current content/."/>
+                                        <echo message="   or:"/>
+                                        <echo message="   b) cp -r content/versions/SNAPSHOT content/."/>
+                                        <echo message="2. preview the changes:"/>
+                                        <echo message="   sh preview.sh"/>
+                                        <echo message="3. commit and push changes"/>
+                                        <echo message="   git commit -am 'some message'"/>
+                                        <echo message="   git push"/>
+                                        <echo message=""/>
+                                        <echo message=""/>
 
                                     </target>
                                 </configuration>

-- 
To stop receiving notification emails like this one, please contact
"commits@isis.apache.org" <co...@isis.apache.org>.