I noticed that Heroku has a build version number, i.e. v251 when you deploy to a hero. Is there a way that I can read that from my application, maybe an environment variable? I have a node.js application on a cedar stack.
Not directly, but if you can access the Heroku API, you can get it from Heroku releases.
UPDATE
Run heroku releases and analyze the results in an environment variable each time you deploy.
heroku releases
How about using Dyno Metadata . It looks like the data you need is just an environment variable.
Source: https://habr.com/ru/post/1401825/More articles:How to use qnorm on Rcpp? - rEndless loop: detecting and turning off the endless loop - algorithmTime between specified range - ruby | fooobar.comWhat is the difference between _SH_SECURE and _SH_DENYWR - c ++Several click controls. Should a layer be added to the map before you can add a control? - openlayersWhat is the preferred way to submit a form using express? - node.jsAccessing Oracle Schema Objects from Another User Without Using a Custom Prefix - oracleNA in randomForest - rUsing Cargo with Maven to remotely deploy a WAR without using HOT - javaIntellisense knockout in VS2010 when inside namespace - javascriptAll Articles