Triagebot can be used to automatically create releases on GitHub when a tag is pushed, using the relevant section of the changelog as the release body. No artifacts are uploaded when doing this.
Any time you push a git tag, or update the contents of the changelog, triagebot will synchronize all tags with the releases. That is, any tag that doesn’t have a release will create a new release. Additionally, the text of all the releases will be synchronized with the text in the changelog.
Tags that don’t have entries in the changelog will not create a release.
To enable automatically creating GitHub Releases, add this to the
triagebot.toml at the root of your repository:
format = "rustc"
project-name = "Rust"
changelog-path = "RELEASES.md"
changelog-branch = "master"
format defines which format the changelog file adheres to, and it’s used to properly extract the relevant section from it.
You can add another format by changing triagebot’s
The currently supported formats are:
rustc: follows the custom style of rustc’s RELEASES.md.
project-name defines what the title of the release should be.
The final title will be
changelog-branch keys define where triagebot should look at when searching for the changelog.