summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-07-11 17:13:40 -0700
committerTodd Stinson <stinson@lindenlab.com>2012-07-11 17:13:40 -0700
commitc0e83b392e4f244f7e4284cfc4285cc27f0b777b (patch)
treeeab15b657e814734ea8b05995237ef4306a2bdd1
parent713aa9f25d45df8355cea25f91338d0aa8f038fa (diff)
Only uploading the map file for Release builds.
-rwxr-xr-xbuild.sh9
1 files 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.