# Automated releases

A step of the [Open source library](https://gradus.kazet.blog/tree/open-source-library) tree on Gradus, in the Releases area: Versions, changelog, registry.

Page: https://gradus.kazet.blog/tree/open-source-library/step/release-automation

Cut releases from CI: bump the version, write the release notes from the changelog, tag and publish in one workflow.

Usually comes after: [Publish to the registry](https://gradus.kazet.blog/tree/open-source-library/step/registry-publish).

## Prompt for your AI assistant

```
Add a release workflow that runs on a version tag: it verifies the tag matches the manifest version, builds, runs the tests, publishes to the registry with a token stored as a secret and creates a release with the notes taken from the changelog section for that version.
```

Every step of the tree: https://gradus.kazet.blog/tree/open-source-library/llms.txt
