PHPLIB-583: Automate release process #1288
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PHPLIB-583 (Release process automation)
PHPLIB-584 (Signing releases)
PHPLIB-1435 (Running static analysis for tags)
This PR builds on the work done for the MongoDB extension. It uses the same flow to trigger a release, but there is no packaging step involved. Since we don't have a file to track the version, this workflow runs different consistency checks: it ensures that the version being released doesn't exist yet, and that it is created from the correct branch (i.e. version
X.Y.Z
has to be released from thevX.Y
branch). The tag created for the release is signed with the same key that we use for the PHP extension.The static analysis workflow has been changed to also run for tags. The resulting SARIF report is uploaded to GitHub's Code Scanning feature where we can then handle it further.
Todo list: