shipshapecode / ember-cli-release

Ember CLI addon for versioned release management
MIT License
90 stars 18 forks source link

Add version to release.js #6

Closed jwhitmarsh closed 9 years ago

jwhitmarsh commented 9 years ago

Would it be possible to include the config/release.js in the manifest files so that the version can be read in the App? (I would like to be able to display it in the navbar).

rwjblue commented 9 years ago

@jwhitmarsh - There are a few addons that already provide that behavior. Specifically, ember-cli-app-version is included by default for newly generated ember-cli apps and adds APP.version to your app-name/config/environment module.

https://github.com/embersherpa/ember-cli-app-version/blob/451fd77047e36e1b094d3a14cf1861be52788ffd/index.js#L12-L13

jwhitmarsh commented 9 years ago

Thanks @rwjblue, couldn't find that earlier :)!

slindberg commented 9 years ago

:+1: to ember-cli-app-version, we use it in our app.