{% extends "sentry/projects/manage.html" %} {% load i18n %} {% load sentry_helpers %} {% load sentry_plugins %} {% block title %}{% trans "Release Tracking" %} | {{ block.super }}{% endblock %} {% block main %}

{% trans "Release Tracking" %}

Configure release tracking for this project to automatically record new releases of your application.

{% trans "Client Configuration" %}

Start by binding the release attribute in your application:

// See SDK documentation for language specific usage.
Raven.config({
  release: '0e4fdef81448dcfa0e16ecc4433ff3997aa53572'
});

This will annotate each event with the version of your application, as well as automatically create a release entity in the system the first time it's seen.

In addition you may configure a release hook (or use our API) to push a release and include additional metadata with it.

{% trans "Token" %}

{% csrf_token %}

Your token is a unique secret which is used to generate deploy hook URLs. If a service becomes compromised, you should regenerate the token and re-configure any deploy hooks with the newly generated URL.

{{ token }}

{% trans "Webhook" %}

{% csrf_token %}

If you simply want to integrate with an existing system, sometimes its easiest just to use a webhook.

{{ webhook_url }}

The release webhook accepts the same parameters as the "Create a new Release" API endpoint, for example:

curl {{ webhook_url }} \
  -X POST \
  -H 'Content-Type: application/json' \
  -d '{"version": "abcdefg"}'
{% if enabled_plugins or other_plugins %} {% for plugin, content in enabled_plugins %}
{% if plugin.can_disable %}
{% csrf_token %}
{% endif %}

{{ plugin.get_title }}

{{ content }}
{% endfor %} {% if other_plugins %}

{% trans "Inactive Integrations" %}

{% endif %} {% endif %}

{% trans "API" %}

You can notify Sentry when you release new versions of your application via our HTTP API.

See the Releases API documentation for more information.

{% endblock %}