dschmidt / ember-cli-deploy-sentry

An ember-cli-deploy-plugin to upload javascript sourcemaps to Sentry
MIT License
42 stars 51 forks source link

Add ability to associate a commit with a release #62

Closed patocallaghan closed 5 years ago

patocallaghan commented 5 years ago

Fixes https://github.com/dschmidt/ember-cli-deploy-sentry/issues/61

I've added a new config option revisionCommits which allows you to specify any commits which you'd like to associate with your release. This then means if you have the Github Sentry Integration installed, commit information will appear in the Sentry UI.

By default the value is undefined but to get it working you need to have the property return an array of objects per commit in the following format:

revisionCommits: function(context) {
  return [{
    repository:"owner-name/repo-name", // required
    id:"2da95dfb052f477380608d59d32b4ab9" // required
  }]
}

I'm currently running my fork in production and it's working as expected

image

patocallaghan commented 5 years ago

Thanks for merging @dschmidt 🙌 Any idea when you'll do a new release?

dschmidt commented 5 years ago

Can try to take care of that sometime soon. If I forget about it this week, feel free to ping here again :)

patocallaghan commented 5 years ago

@dschmidt just another ping on a new release please

dschmidt commented 5 years ago

Done!

patocallaghan commented 5 years ago

Thanks 🙌