Skip to content

Release: 2.0.5#1261

Merged
dkotter merged 8 commits into
developfrom
release/2.0.5
Aug 15, 2024
Merged

Release: 2.0.5#1261
dkotter merged 8 commits into
developfrom
release/2.0.5

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 15, 2024

Copy link
Copy Markdown
  • Branch: Starting from develop, create a release branch named release/2.0.5 for your changes.
  • Version bump: Bump the version number in distributor.php, package-lock.json, package.json, readme.txt and tests/php/bootstrap.php if it does not already reflect the version being released. In distributor.php update both the plugin "Version:" property and the plugin DT_VERSION constant.
  • New files: Ensure any new files, especially in the vendor folder, are correctly included in webpack.config.release.js.
  • Changelog: Add/update the changelog in CHANGELOG.md.
  • Props: Update CREDITS.md file with any new contributors, confirm maintainers are accurate.
  • Readme updates: Make any other readme changes as necessary. README.md is geared toward GitHub and readme.txt contains WordPress.org-specific content. The two are slightly different.
  • Since tag updates: ensure @since tags indicate the new version, replacing x.x.x, n.e.x.t and other placeholders.
  • Update this pull request's status from draft to ready to merge.
  • Merge: Make a non-fast-forward merge from your release branch to develop (or merge the Pull Request), then do the same for develop into trunk (git checkout trunk && git merge --no-ff develop). trunk contains the stable development version.
  • Build: Wait for the Build Stable Release Action to finish running.
  • Review: Do a review of the commit to the stable branch to ensure the contents of the diffs are as expected.
  • Test: Check out the stable branch and test it locally to ensure everything works as expected. It is recommended that you rename the existing distributor directory and check out stable fresh because switching branches does not delete files. This can be done with git clone --single-branch --branch stable git@github.com:10up/distributor.git
  • Either perform a regression testing utilizing the available Critical Flows and Test Cases or if end-to-end tests cover a significant portion of those Critical Flows then run e2e tests. Only proceed if everything tests successfully.
  • Release: Create a new release, naming the tag and the release with the new version number, and targeting the stable branch. Paste the changelog from CHANGELOG.md into the body of the release and include a link to the closed issues on the milestone. The release should now appear under releases.
  • Check release: Wait for the Publish Release Action to complete, and then check the latest release to ensure that the ZIP has been attached as an asset. Download the ZIP and inspect the contents to be sure they match the contents of the stable branch.
  • Close milestone: Edit the milestone with release date (in the Due date (optional) field) and link to GitHub release (in the Description field), then close the milestone.
  • Punt incomplete items: If any open issues or PRs which were milestoned for X.Y.Z do not make it into the release, update their milestone to X.Y.Z+1, X.Y+1.0, X+1.0.0, or Future Release.

@dkotter dkotter self-assigned this Aug 15, 2024
@dkotter dkotter added this to the 2.0.5 milestone Aug 15, 2024
@dkotter dkotter marked this pull request as ready for review August 15, 2024 15:36
@dkotter dkotter requested a review from a team as a code owner August 15, 2024 15:36
@dkotter dkotter requested review from jeffpaul and peterwilsoncc and removed request for a team and peterwilsoncc August 15, 2024 15:36
Comment thread readme.txt Outdated
Comment thread README.md Outdated
Comment thread distributor.php Outdated
Comment thread includes/debug-info.php
jeffpaul
jeffpaul previously approved these changes Aug 15, 2024

@jeffpaul jeffpaul left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for handling the release!

@dkotter dkotter merged commit bbf724a into develop Aug 15, 2024
@dkotter dkotter deleted the release/2.0.5 branch August 15, 2024 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants