Reflecting Heroku push version within the app

后端 未结 9 627
故里飘歌
故里飘歌 2021-01-30 09:17

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

9条回答
  •  不思量自难忘°
    2021-01-30 10:14

    AFAIK you can only get the version via the CLI:

    heroku releases --app 
    

    You could do this via the Heroku gem from you app, but this is probably more trouble that it's worth.

提交回复
热议问题