Share on Twitter
Share on Facebook
Share on HackerNews

Automatically Get Commits With Heroku Releases

Tracking Heroku releases with Sentry just got a whole lot better.

With the deploy hook configured, you can track releases of your Heroku app in Sentry and see new errors as they arise. Now, with our expanded Releases feature, Sentry can automatically retrieve the relevant commit data associated with your release each time you deploy a new version. When you enable this feature, you also gain access to deploy emails so that relevant team members can be alerted immediately when their code has gone out.

Having access to this commit data for a release can be extremely helpful in debugging new errors, as it adds the ability to see which files have changed most recently, and which members of an organization have been involved in pushing code since the last release.

If you’re using Heroku to deploy your app and want to take advantage of release tracking with Sentry, just follow these steps:

Connect your repository to your Sentry organization so that we can automatically retrieve your commit data.

Add a repo

Enable the Heroku integration in your Sentry Project Settings.

Enable Heroku

In the Heroku Plugin Configuration, specify which repository and deploy environment to be associated with your Sentry project.

Configure Heroku

Navigate to your Project’s Release Tracking settings and copy the deploy hook command to your Heroku config.

Deploy hook command

And voilà! You’ll immediately start getting rich commit information and deploy emails with each new release.

Sentry has integrations with all your favorite apps and services so you can get more use from your error tracking workflows.

Your code is broken. Let's Fix it.
Get Started

More from the Sentry blog

ChangelogDashboardsDiscoverDogfooding ChroniclesEcosystemError MonitoringEventsGuest PostsMoonlightingOpen SourcePerformance MonitoringRelease HealthSDK UpdatesSentry

Do you like corporate newsletters?

Neither do we. Sign up anyway.

© 2022 • Sentry is a registered Trademark
of Functional Software, Inc.