mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-03-31 01:11:55 +01:00
22 lines
828 B
Markdown
22 lines
828 B
Markdown
This is a small tool to automate generating TGS releases
|
|
|
|
Requires environment variable `TGS_RELEASE_NOTES_TOKEN`
|
|
|
|
Run it with `dotnet run <version> [--no-close (optionally doesn't close the milestone, USE WHILE DEBUGGING)]`
|
|
|
|
Will close the release milestone and output `release_notes.md` with the updated release notes
|
|
|
|
Alternative modes
|
|
|
|
`dotnet run --ensure-release`
|
|
|
|
Ensures the latest GitHub release is a TGS release
|
|
|
|
`dotnet run --link-winget <action run url>`
|
|
|
|
Updates an existing https://github.com/microsoft/winget-pkgs manifest update pull request with the TGS template. The PR updated is the last one opened by the user
|
|
|
|
`dotnet run --winget-template-check <Latest edit SHA of https://github.com/microsoft/winget-pkgs/blob/master/.github/PULL_REQUEST_TEMPLATE.md>`
|
|
|
|
Validates the template we are PRing is up-to-date.
|