A_L
A_L

Reputation: 1146

How to get version of meteor on meteor.com

If I deploy my app using:

meteor deploy myapp.meteor.com

How can I check the version of meteor running on the remote server?

Upvotes: 1

Views: 59

Answers (1)

Dan Dascalescu
Dan Dascalescu

Reputation: 151936

Simply evaluate Meteor.release in your app code.

Meteor.release is a string containing the name of the release with which the project was built (for example, "0.7.1.1"). It is undefined if the project was built using a git checkout of Meteor.

Also note that every project is pinned to a specific release of Meteor. Demo at http://release.meteor.com/ - note the release is Windows, which is clearly not what meteor.com runs :)

Upvotes: 2

Related Questions