Is there a way to access the galaxy build number in my app?
2 Likes
Just guessing, but I would assume that a Meteor app isn’t even aware of which environment it is actually running in.
It’s listed in the console on Galaxy so it should be somewhere, not sure if they push it in a environment variable though:
2016-09-23 17:38:21+02:00Successfully built version XXXXXX.
2016-09-23 17:38:48+02:00Application process starting, version: XXXXX on apprunner (embedded)
@jamgold what’s your use case for this?
I want to display the build version in my app
If you think it may be an environment variable, try
console.log(process.env);
in your server code.
The answer is process.env.GALAXY_APP_VERSION_ID
1 Like