changeset 7:7d3faa099bc6

auto-Update generated slides by script
author Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Thu, 25 Jan 2018 17:01:05 +0900
parents e35e9779078a
children 0b502eb897cc
files lib/Slideshow/Util.pm
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/Slideshow/Util.pm	Thu Jan 25 16:59:37 2018 +0900
+++ b/lib/Slideshow/Util.pm	Thu Jan 25 17:01:05 2018 +0900
@@ -128,6 +128,7 @@
 
     unless($stderr){
         say "$stdout";
+        system('hg push');
     } else {
         say $stderr;
         croak "didn't push";