I noticed that heroku has a build version number i.e. v251 when you deploy to heroku. Is there any way that I can read that from my application, perhaps an environment variable? I have a node.js app on their cedar stack.
Heroku's environment variables are called config vars. To set a config var, navigate to the Settings tab of your app's dashboard, and click Reveal Config Vars.
Heroku Local is a command-line tool to run Procfile-backed apps. It is installed automatically as part of the Heroku CLI. Heroku Local reads configuration variables from a . env file.
How about using the Dyno Metadata. It looks like the data you need is then just an environment variable away.
Not directly, but if you can access the Heroku API you can get it from the Heroku releases.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With