diff --git a/CHANGELOG.md b/CHANGELOG.md index 0fc5181f..54e1d010 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +* Expose a RESIN_SUPERVISOR_VERSION env var to app [Pablo] + # v1.1.1 * Prevent non-fatal errors from causing the supervisor to exit [Lorenzo] diff --git a/src/utils.coffee b/src/utils.coffee index 270ebe1e..44a88aa3 100644 --- a/src/utils.coffee +++ b/src/utils.coffee @@ -132,6 +132,7 @@ exports.extendEnvVars = (env, uuid) -> RESIN_SUPERVISOR_HOST: host RESIN_SUPERVISOR_PORT: config.listenPort RESIN_SUPERVISOR_API_KEY: exports.getOrGenerateApiSecret() + RESIN_SUPERVISOR_VERSION: exports.supervisorVersion RESIN: '1' USER: 'root' if env?