svn: /web/php-rmtools/trunk/client/script/ snap.php

From: Date: Thu, 28 Apr 2011 12:40:35 +0000
Subject: svn: /web/php-rmtools/trunk/client/script/ snap.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-10912@lists.php.net to get a copy of this message
pajoye Thu, 28 Apr 2011 12:40:35 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=310623 Log: - upload db after everything else to avoid bad fetchting/double checks Changed paths: U web/php-rmtools/trunk/client/script/snap.php Modified: web/php-rmtools/trunk/client/script/snap.php =================================================================== --- web/php-rmtools/trunk/client/script/snap.php 2011-04-28 12:32:47 UTC (rev 310622) +++ web/php-rmtools/trunk/client/script/snap.php 2011-04-28 12:40:35 UTC (rev 310623) @@ -21,9 +21,6 @@ $branch_name = $branch->config->getName(); $branch_name_short = $branch->config->getBranch(); -/*Upload the branch DB */ -rm\upload_file($branch->db_path, $branch_name . '/' . basename($branch->db_path)); - echo "Running <$config_path>\n"; echo "\t$branch_name\n"; echo "\tprevious revision was: " . $branch->getPreviousRevision() . "\n"; @@ -126,6 +123,9 @@ echo "no new revision.\n"; } +/*Upload the branch DB */ +rm\upload_file($branch->db_path, $branch_name . '/' . basename($branch->db_path)); + if ($has_build_errors) { rm\send_error_notification($build_errors, $branch->getPreviousRevision(), $last_rev, 'http://windows.php.net/downloads/snaps/' . $branch_name . '/r' . $last_rev); }

« previous php.webmaster (#10912) next »