The changes will appear in ../CHANGELOG.md.
Install the required dependencies in requirements.txt.
The script also requires a GitHub token.
For instructions on creating a GitHub personal access token to use the GitHub API, see: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token.
Run the script from the root directory:
python3 dev/get_changes.py --github_token token --previous 0.42.0 --current 0.43.0 --path /local/path/to/CHANGELOG.md
If you get a command not found
or similar error, make sure you have made the
script an executable (e.g., chmod u+x ./dev/get_changes.py
).