From 000af3ad2e8822e997a261fde09294bc7e265ff6 Mon Sep 17 00:00:00 2001 From: Slava Kim Date: Thu, 9 Oct 2014 12:30:57 -0700 Subject: [PATCH] Update checkout apps to the head of official track by default --- tools/commands-packages.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/commands-packages.js b/tools/commands-packages.js index c178f17ad3..2da7c720e6 100644 --- a/tools/commands-packages.js +++ b/tools/commands-packages.js @@ -1596,6 +1596,13 @@ var maybeUpdateRelease = function (options) { return catalog.official.getReleaseVersion(appTrack, appVersion); }); var appOrderKey = (appReleaseInfo && appReleaseInfo.orderKey) || null; + + // If on a 'none' app, try to update it to the head of the official release + // track METEOR@. + if (appTrack === 'none') { + appTrack = 'METEOR'; + } + releaseVersionsToTry = catalog.official.getSortedRecommendedReleaseVersions( appTrack, appOrderKey); if (!releaseVersionsToTry.length) {