From f65da4a940643ba407fa4c02079f3bedeb594d33 Mon Sep 17 00:00:00 2001 From: ekatek Date: Tue, 30 Sep 2014 15:32:39 -0700 Subject: [PATCH] don't forget to write the format for old-style unipackage.json --- tools/isopack.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/isopack.js b/tools/isopack.js index f190033ef6..aa46f0fd34 100644 --- a/tools/isopack.js +++ b/tools/isopack.js @@ -217,6 +217,7 @@ var convertIsopackFormat = function (data, versionFrom, versionTo) { return convertedData; } else if (versionFrom === "isopack-1" && versionTo === "unipackage-pre2") { convertedData.unibuilds = convertedData.builds; + convertedData.format = "unipackage-pre2"; delete convertedData.builds; return convertedData; } @@ -1024,7 +1025,7 @@ _.extend(Isopack.prototype, { // writes one file with all of the new formats, so that it is possible // to invent a new format and have old versions of meteor still read the // old format - // + // // This looks something like: // { // isopack-1: {... data ...},