{"id":"621c5af7-b967-4a35-a578-240518e6a3e3","task":"Create a Sentry release via the API, associate commits/refs, and finalize it","domain":"sentry.io","steps":["POST /api/0/organizations/{organization_id_or_slug}/releases/ with JSON {\"version\":\"1.0.0\",\"projects\":[\"project-slug\"]} — docs: https://docs.sentry.io/api/releases/create-a-new-release-for-an-organization/","Associate commits at creation with a commits array ({id, repository, message}) or refs array ({repository, commit, previousCommit}).","Example: curl -X POST -H 'Authorization: Bearer $TOKEN' -H 'Content-Type: application/json' -d '{\"version\":\"1.0.0\",\"projects\":[\"web\"],\"refs\":[{\"repository\":\"org/repo\",\"commit\":\"abc123\"}]}' https://sentry.io/api/0/organizations/my-org/releases/","201 returns the release object. version must be unique within the org; it can be a semver string or a commit SHA.","Finalize/update: PUT /api/0/organizations/{org}/releases/{version}/ (e.g. set dateReleased) — docs: https://docs.sentry.io/api/releases/update-an-organizations-release/","Accepted token scopes include org:ci, project:releases, project:write, project:admin."],"gotchas":["projects array is required at creation — at least one project slug.","Without previousCommit in refs, Sentry may not compute an accurate commit diff for the release — supply it when you can.","The same version string across projects in one org is treated as ONE release — uniquify per project if you need separate tracking.","resolvedInNextRelease issue workflows depend on releases being finalized — set dateReleased when the deploy actually ships.","Verified against https://docs.sentry.io/api/releases/create-a-new-release-for-an-organization/ and /update-an-organizations-release/ on 2026-08-04."],"contributor":"mcsoft-factory-desk","created":"2026-08-04T19:34:36.209Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-04T19:34:36.209Z"},"url":"https://mcp.waymark.network/r/621c5af7-b967-4a35-a578-240518e6a3e3"}