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 2016/04/05 13:38:51 UTC

[4/4] isis git commit: ISIS-1335: improvements to documentation pom.xml, don't commit the PDFs if no change

ISIS-1335: improvements to documentation pom.xml, don't commit the PDFs if no change


Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/879c5454
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/879c5454
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/879c5454

Branch: refs/heads/master
Commit: 879c5454e309a42348d56dcd3f7c0287a559732c
Parents: b6e2d7b
Author: Dan Haywood <da...@haywood-associates.co.uk>
Authored: Tue Apr 5 12:37:55 2016 +0100
Committer: Dan Haywood <da...@haywood-associates.co.uk>
Committed: Tue Apr 5 12:37:55 2016 +0100

----------------------------------------------------------------------
 adocs/documentation/pom.xml | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis/blob/879c5454/adocs/documentation/pom.xml
----------------------------------------------------------------------
diff --git a/adocs/documentation/pom.xml b/adocs/documentation/pom.xml
index 783c7f1..13df594 100644
--- a/adocs/documentation/pom.xml
+++ b/adocs/documentation/pom.xml
@@ -444,15 +444,16 @@
                                             def file=line.drop(3)
                                             if(file.endsWith(".html")) {
                                                 def pdfFile = file.replaceAll(".html",".pdf")
-                                                println file
                                                 "git add $file".execute(null, siteDir).in.text
-                                                println pdfFile
                                                 "git add $pdfFile".execute(null, siteDir).in.text
                                             }
                                         }
 
-                                        "git commit -m '${message}'".execute(null, siteDir).in.text
-                                        "git reset --hard".execute(null, siteDir).in.text
+                                        // doesn't seem to do anything :-(
+                                        "git commit --message '${message}'".execute(null, siteDir).text
+
+                                        // and so, commenting this out.
+                                        // println "git reset --hard".execute(null, siteDir).in.text
 
                                         return null
                                     </source>