In Heroku, is it possible to assign one env var to another env var?

Viewed 130

By using https://github.com/mars/heroku-js-runtime-env-buildpack I'm having my frontend pick up some run-time envvars from the server. The problem I have is that it only picks up environment variables with names starting with JS_RUNTIME_ and I want to pick HEROKU_RELEASE_VERSION.

Is there a way to make Heroku somehow set JS_RUNTIME_HEROKU_RELEASE_VERSION to the same value as HEROKU_RELEASE_VERSION?

0 Answers
Related