Every time I push my app to heroku I see the line
-----> Launching... done, v43
Is there a way to make that version number apear within the
I am using Codeship so I plan on just adding this to the push config:
heroku config:add HEROKU_RELEASE_VERSION=$(heroku releases | head -2 | awk 'NR==2' | awk '{print $1}')
Note that the other similar answer is invalid since it is grabbing some of the later versions (it uses tail instead of head) and it tries to set it to two versions instead of just one (ie: v100 \n v101).