Search code examples
javascriptember.jsember-clisource-mapssentry

How to set the release version as a part of Ember build?


I want to set the version on the frontend (a meta tag in index.html or a property on window once the code is loaded in the browser, or in some other way) as a part of the build/deployment process in Ember. What would be the ideal way to accomplish this? I need this for mapping sourcemaps to versions in Sentry.


Solution

  • Have you looked into this plugin:
    ember-cli-deploy-sentry
    Look also at the issues and PRs, at least the source code could get you started.