shadow-robot / sr-build-tools

Contains build tools and rosinstall files for Shadow Robot's Software.
GNU General Public License v2.0
31 stars 11 forks source link

Write new changelog script #675

Closed BenStarmerSmith closed 1 year ago

BenStarmerSmith commented 1 year ago

Proposed changes

This PR adds a new changelog script which replaces the old manual changelog script, which compared two points of time to gather the changelog. This lead to issues as it didn't reflect the direct changes in the image accurately.

This new method instead takes an input image and then gets the tag of the image before it, and compares these two images directly to compare the hash of identical repos to get a list of PRs. It also has an attached codebuild project which allows us to manually execute this script (you can also run it locally with abit of setup).

This codebuild project will be executed by the roles that create images as well to ensure the changelog gets received.

Checklist

Before posting a PR ensure that from each of the below categories AT LEAST ONE BOX HAS BEEN CHECKED. If more than one category is applicable then more can be checked. Also ensure that the proposed changes have been filled out with relevant information for reviewers.

Tests

Documentation