---
title: publish_release
published: true
tier: free
index: 10
---

# publish_release

Publish through single-project automation using its project publishing token.

**Arguments.** `branch` and full 40-character `commit`. Optional `repository` checks the source. `version` and `license` can override source metadata.

**Returns.** `{id, version, commit, formats}` for the immutable release. Check release history before retrying an uncertain publication.

```json
{"branch":"main","commit":"0123456789abcdef0123456789abcdef01234567"}
```

For an owner's multi-project connection, use [the management tool](../author-mcp/publish-release.md).
