Commits

falcon committed 41794a0

Apparently the hack to get release and debug viewer builds into separate build configs means checking in build.sh is useless. Fixed the conditional around uploading the symbolfile to check instead, which seems to be the correct pattern.

Comments (0)

Files changed (1)

     else
       upload_item installer "$package" binary/octet-stream
       upload_item quicklink "$package" binary/octet-stream
-	  mapfilepath=$build_dir/newview
-	  gzip $mapfilepath/secondlife-bin.MAP
-	  mapfile=secondlife-bin-$arch.MAP.gz
-	  mv $mapfilepath/secondlife-bin.MAP.gz $mapfilepath/$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.
+      # Upload crash reporter files and symbolfile for public llphysicsextensions build.
       case "$last_built_variant" in
       Release)
         for symbolfile in $symbolfiles
         do
           upload_item symbolfile "$build_dir/$symbolfile" binary/octet-stream
         done
+
+        mapfilepath=$build_dir/newview
+        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 for $last_built_variant"
+
+        ;;
+      *)
+        echo "Skipping mapfile for $last_built_variant"
         ;;
       esac