mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
let you update sans --release to a non-downloaded thing
This commit is contained in:
@@ -390,9 +390,9 @@ Fiber(function () {
|
||||
|
||||
// XXX make errors look good
|
||||
var didUpdate = warehouse.fetchLatestRelease();
|
||||
/* global */ releaseVersion = warehouse.latestRelease();
|
||||
if (didUpdate) {
|
||||
/* global */ releaseVersion = warehouse.latestRelease();
|
||||
console.log("Updated Meteor to release " + releaseVersion);
|
||||
console.log("Updated Meteor to release " + releaseVersion + ".");
|
||||
engineSpringboard(['--updated-from=' + updatedFrom]);
|
||||
// If the engine for release is different, then engineSpringboard
|
||||
// execs and does not return. Otherwise, keeps going.
|
||||
@@ -434,6 +434,7 @@ Fiber(function () {
|
||||
// This is the right spot to do any other changes we need to the app in
|
||||
// order to update it for the new release (new metadata file formats,
|
||||
// etc, or maybe even updating renamed APIs).
|
||||
// XXX should we really print the full path here (appDir)?
|
||||
console.log("Updated app '%s' to release %s from release %s.",
|
||||
appDir, releaseVersion, appRelease);
|
||||
// XXX print change log
|
||||
|
||||
Reference in New Issue
Block a user