Reputation: 1146
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
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