What is the difference between deployment and Release

API docs mention that you can create an organization release specifying multiple or single project https://docs.sentry.io/api/releases/post-organization-releases/ and you can create a deploy https://docs.sentry.io/api/releases/post-release-deploys/
what is the difference between those two. To me they seem as the same thing, at least deployment and a release should be the same.

I’m not sure on the specifics for Sentry, but this page may help:

‘Release’ to me is a code release.
A deploy is when that ‘Release’ goes to to an environment.
I think that’s roughly true in Sentry’s context

I think what deployments provide on top of releases is:

  • sending out an email to relevant participants
  • a single release (or consider this more like a build) can be deployed at different times to different environments, so deployments would be different but release would be the same.