-
Notifications
You must be signed in to change notification settings - Fork 77
GitHub Releases
The bot 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.
Triagebot will run the synchronization every time a commit is pushed to the changelog branch, or when a new tag is created.
To enable automatically creating GitHub Releases, add this to the triagebot.toml
at the root of your repository:
[github-releases]
format = "rustc"
project-name = "Rust"
changelog-path = "RELEASES.md"
changelog-branch = "master"
The 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 src/changelogs/
. The currently supported formats are:
-
rustc
: follows the custom style of rustc's RELEASES.md.
The project-name
defines what the title of the release should be. The final title will be {project-name} {tag}
.
The changelog-path
and changelog-branch
keys define where triagebot should look at when searching for the changelog.