From c0e83b392e4f244f7e4284cfc4285cc27f0b777b Mon Sep 17 00:00:00 2001
From: Todd Stinson <stinson@lindenlab.com>
Date: Wed, 11 Jul 2012 17:13:40 -0700
Subject: [PATCH] Only uploading the map file for Release builds.

---
 build.sh | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/build.sh b/build.sh
index 00a9baec0a..e8d326f003 100755
--- a/build.sh
+++ b/build.sh
@@ -272,8 +272,13 @@ then
 	  gzip $mapfilepath/secondlife-bin.MAP
 	  mapfile=secondlife-bin-$arch.MAP.gz
 	  mv $mapfilepath/secondlife-bin.MAP.gz $mapfilepath/$mapfile
-	  upload_item mapfile "$mapfilepath/$mapfile" binary/octet-stream
-	  echo "Uploaded mapfile"
+	  if [ x"$variant" = xRelease ]
+	  then
+	      upload_item mapfile "$mapfilepath/$mapfile" binary/octet-stream
+	      echo "Uploaded mapfile for $variant"
+	  else
+	      echo "Skipping mapfile upload for $variant"
+	  fi
       [ -f summary.json ] && upload_item installer summary.json text/plain
 
       # Upload crash reporter files.
-- 
GitLab