Skip to content

Xymist/release_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

122 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Release Bot

This is a bot to automate the release process for Market Dojo.

The eventual plan is for this to be run when a merge to Master is made. It should be part of a pipeline which generates the release notes from the bugtracker and PRs, cuts a release, triggers and babysits the deploy to live, and notifies anyone who cares about a given issue that it has been dealt with.

Features (i.e. things this does at this time):

  • Fetch all issues and PRs from the given Milestone on GitHub
  • Generate categorised notes and statistics for that Milestone
  • Build a Markdown file with the release notes
  • Build a LaTeX file with the release notes
  • Convert the LaTeX file to a PDF

Plan (i.e. things this does not do at this time). Some of these may be done by GHA instead:

  • Create Release in GitHub with the name of the current Milestone
  • Trigger deploy process
  • Email Admins to request smoke test on success, or to complain on failure
  • Email support & clients to update on status of requested features/enhancements and bugfixes

Setup:

  • Fetch the latest build from the Releases section of this repository on GitHub
  • Create a GitHub token with the repo scope and set it as an environment variable GITHUB_TOKEN
  • Ensure you know what the milestone number is for the current release
  • Ensure you have tectonic installed, for PDF generation
  • Run with release_bot --milestone <milestone_number>
  • The release notes will be generated in the releases directory

About

Writes release notes for projects using Github, in the format preferred by Market Dojo

Resources

License

Stars

1 star

Watchers

2 watching

Forks

Contributors

Languages