as discussed in #144, there is a risk that the diff being reviewed in the PR that bumps the package version no longer match the state of the repo when that PR is merged.
The GH action that does the release should start from the state of the repo at the time of the diff.
We could for instance tag the repo as pre-x.y.z when generating the diff, and use that tag for the checkout in the release action.