Skip to content

Release Process

Gan Eng Chin edited this page Oct 11, 2022 · 8 revisions

Prepping for release:

  1. Download the woorelease.zip from the latest release, and store the phar somewhere locally.

  2. Generally you can use the develop branch to do release.

Simulated release

product_version=<new version to be released>

# The following is optional for when a newer version of WC or WP has been released.
# More info: https://github.com/woocommerce/woorelease/wiki/Usage
wc_tested=<latest compatible WC version>
wp_tested=<latest compatible WP version>

# Branch should be the `develop` branch
woorelease simulate --product_version=x.x.x --wc_tested=y.y --generate_changelog https://github.com/woocommerce/pinterest-for-woocommerce/tree/develop

Note: Select y when prompted "Would you like to add/delete them in the svn working copy?"

Review the changelog

If you're using the latest woorelease you should have all the PRs covered (see 374-gh-woocommerce/woorelease). However, check in case there are some entries missing, need reword, or to be deleted. You can either change/delete them manually, or edit respective PRs by changing its title, ### Changelog entry section, or assigning the changelog: none label.

If you changed something manually, copy the result, so you could use it in the final release.

Check build

  1. Check temporary folder for pinterest-for-woocommerce.zip
  2. Install zip file on a test site
  3. Confirm it activates without warnings/errors and is showing the right versions
  4. Run a few basic smoke tests

Final release

  1. Run:
woorelease release --product_version=x.x.x --wc_tested=y.y --generate_changelog https://github.com/woocommerce/pinterest-for-woocommerce/tree/develop
  1. When prompted for changelog entries double-check, and apply any changes (from simulation phase) if needed.
  2. When the release is done, merge develop branch into trunk branch.
Clone this wiki locally