Commit:    4fd43b3a11bf6c052006f97e957cf0cd96375a33
Author:    Anatol Belski <a...@php.net>         Mon, 30 Sep 2013 00:55:15 +0200
Parents:   c9674d437431e4222870945c66eecce6cda13550
Branches:  master

Link:       
http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=4fd43b3a11bf6c052006f97e957cf0cd96375a33

Log:
made the cron script to look in two dirs - snaps/releases

Changed paths:
  M  client/bin/pecl_build_next.bat


Diff:
diff --git a/client/bin/pecl_build_next.bat b/client/bin/pecl_build_next.bat
index 7499b99..0d5de3d 100644
--- a/client/bin/pecl_build_next.bat
+++ b/client/bin/pecl_build_next.bat
@@ -1,11 +1,10 @@
 @ECHO OFF
 
-echo pick the next PECL pkg and pass to pecl_build_all.bat 
+rem pick the next PECL pkg and pass to pecl_build_all.bat 
+rem first try releases, if there aren't any, look for snaps
 
 SET BAT_DIR=%~dp0
 
-%PECL_PHP_CMD% %BAT_DIR%\..\script\pecl_mail.php
-
 cd c:\pecl-in-pkg
 
 for /r %%i in (*) do (
@@ -14,6 +13,15 @@ for /r %%i in (*) do (
        goto ONLY_ONE   
 )
 
+
+cd c:\pecl-in-snap
+
+for /r %%i in (*) do (
+       call %BAT_DIR%pecl_build_all.bat --upload --is-snap --package=%%i
+       del %%i
+       goto ONLY_ONE   
+)
+
 :ONLY_ONE
 cd %BAT_DIR%
 echo .


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to