From 9be657f8624399a27049e87503dcc2a9f774dd90 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 217040bb98..f9db611d7b 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) {