Add 'Build Release' workflow to simplify release steps #59799
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.
Submission Review Guidelines:
Changes proposed in this Pull Request:
This PR introduces workflow
Release: Build Release
which simplifies the process of building a new release by combining various steps into just one workflow (such as bumping versions, generating changelog, ZIP and GH release).The only input required by this workflow is the version you intend to release (and the date) and it'll perform all the required steps.
Important
Because the final ZIP includes all relevant changes, modifications made to the PRs generated by this workflow (such as the one bumping versions or updating the changelog) are not reflected in the final ZIP. As such, for cases where certain adjustments need to be made manually, this workflow doesn't offer any flexibility and the release steps need to be performed individually instead.
Closes #57936.
How to test the changes in this Pull Request:
Using the WooCommerce Testing Instructions Guide, include your detailed testing instructions:
trunk
and at least therelease/10.0
branch.release/10.0
branch and generate a changelog file. Push the changes.10.0.4
and any date of your choosing as release date.10.0.4
with a ZIP attached.woocommerce.php
header is indeed10.0.4
and that the changelog inreadme.txt
includes the changelog entry you created in step 2.release/10.0
to10.0.4
.release/10.0
.10.0.0-rc.3
,10.0.4
(which already exists) or10.1.0
and confirm that the workflow fails as expected.Testing that has already taken place:
Changelog entry
Changelog Entry Details
Significance
Type
Message
Changelog Entry Comment
Comment