woocommerce/woocommerce-square

Release version 4.6.2

Closed this issue · 1 comments

This issue is for tracking the 4.6.2 release. Target release date: May 23 2024

Pre-release steps

Release steps

  • Branch: Starting from trunk, cut a release branch named release/4.6.2
  • Version bump: Bump the version number in woocommerce-square.php, package.json, package-lock.json and readme.txt to 4.6.2. In woocommerce-square.php update both the plugin "Version:" property and the plugin WC_SQUARE_VERSION constant
  • Update @since: Find all new @since x.x.x / @since n.e.x.t lines and update those with the new version number, 4.6.2
  • Generate changelog: Locally, generate the changelog by running the following Woorelease command: php woorelease.phar cl:generate --product_version=4.6.2 https://github.com/woocommerce/woocommerce-square/tree/trunk. Ensure the changelog updates look correct
  • Update changelog: Take the changelog generated from the previous step and update the release PR with those changes, both in the changelog.txt file and readme.txt file
  • Open PR: Open a new PR against trunk from the release branch, release/4.6.2
  • Run tests: On this release PR, add the label needs: qit default tests and needs: e2e testing. This will trigger the default QIT tests (activation, API and E2E) and our E2E tests. Ensure these tests pass as well as all other applicable tests
  • Merge: Merge the release PR into trunk
  • Prepare ZIP: Prepare the zip by running Woorelease locally on the trunk branch: php woorelease.phar build https://github.com/woocommerce/woocommerce-square/tree/trunk. Make sure you are running the proper versions of node, npm and composer to ensure the built files are consistent across releases. Versions can be found in package.json
  • Compare: Download the latest released zip and then run a diff compare against the generated zip, ensuring all expected changes are there (and no unexpected changes)
  • Test ZIP: Take the ZIP generated from the previous step and test this locally, ensuring version numbers look correct, the changelog looks correct and the plugin installs and activates properly
  • Attach ZIP: Attach the ZIP to this issue and ping the Automattic team in the #a8c-10up-woo-support channel to complete the release

@vikrampm1 This is ready for release:

woocommerce-square.zip