Fix meteor update --patch.

Broken in d90511128b which is in 1.0 but not 0.9.4. So we should
not create any explicitly-marked-as-patch releases against 1.0.
This commit is contained in:
David Glasser
2014-11-18 14:28:28 -08:00
parent f404f28275
commit e281442835

View File

@@ -1707,7 +1707,8 @@ var maybeUpdateRelease = function (options) {
"You are at the latest patch version.");
return 0;
}
var patchRecord = catalog.official.getReleaseVersion(r[0], updateTo);
var patchRecord = catalog.official.getReleaseVersion(
appTrackAndVersion[0], updateTo);
// It looks like you are not at the latest patch version,
// technically. But, in practice, we cannot update you to the latest patch
// version because something went wrong. For example, we can't find the