alphagov / govuk-prototype-kit

Rapidly create HTML prototypes of GOV.UK services
https://prototype-kit.service.gov.uk
MIT License
305 stars 236 forks source link

Added a log of the commands needed to complete the release #2281

Closed nataliecarey closed 1 year ago

nataliecarey commented 1 year ago

We discussed watching the semi-automated releases and letting them bed in before automating the later stages. The remaining uncertainty is around the specific commands to run. This change keeps the existing behaviour but:

  1. Watches the PR to see when it's approved
  2. Watches the tests to see when they pass, providing the URL to any failed tests so they can be re-run
  3. Once the PR is in a releasable state it outputs commands that can be run to complete the release - this allows us to test that those commands would correctly create the release if they were run automatically

This allows us to keep the final release as a manual step but to prove whether the automation would handle it correctly or not.

The big benefit of this change is that we can see and refine the commands before we decide to run them automatically.