Permalink
Browse files

Update builds.php

Update site
  • Loading branch information...
vshcherb committed Mar 3, 2013
1 parent dde99d3 commit 4456b37a84cc2858b8fe78cc876d547706f46410
Showing with 1 addition and 3 deletions.
  1. +1 −3 site/builds.php
View
@@ -9,15 +9,13 @@ function addBuilds($files, $output, $outputIndexes, $tag_suffix="") {
$fname = basename($file);
if(stristr($fname, "osmand-") && !stristr($fname, ".bar") ) {
$type = "OsmAnd";
- } else if(stristr($fname, "osmandmapcreator-")) {
- $type = "OsmAndMapCreator";
} else {
continue;
}
if (stripos($fname, "-nb-") !== false) {
$tag = preg_replace("/[^-]*-(.*)-nb.*/i", "$1", $fname);
} else {
- $tag = preg_replace("/[^-]*-([^\.-]*).*/i", "$1", $fname);
+ $tag = preg_replace("/[^-]*-([^\.]*).*/i", "$1", $fname);
}
$size = round(filesize($file)/1048576, 1);
$date = date("d.m.Y", filemtime($file));

0 comments on commit 4456b37

Please sign in to comment.