-
Notifications
You must be signed in to change notification settings - Fork 9
Release Process
Gan Eng Chin edited this page Oct 11, 2022
·
8 revisions
-
Download the woorelease.zip from the latest release, and store the phar somewhere locally.
-
Create a release branch off of develop branch, or cherry-pick commits onto the branch
git checkout develop
git checkout -b release/x.x.x
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 a release branch
woorelease simulate --product_version=x.x.x --wc_tested=y.y --generate_changelog https://github.com/woocommerce/pinterest-for-woocommerce/tree/release/x.x.x
Note: Select y when prompted "Would you like to add/delete them in the svn working copy?"
If you're using the latest woorelease
you should have all the PRs covered.
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 temporary folder for pinterest-for-woocommerce.zip
- Install zip file on a test site
- Confirm it activates without warnings/errors and is showing the right versions
- Run a few basic smoke tests
- Run:
woorelease release --product_version=x.x.x --wc_tested=y.y --generate_changelog https://github.com/woocommerce/pinterest-for-woocommerce/tree/release/x.x.x
- When prompted for changelog entries double-check, and apply any changes (from simulation phase) if needed.
- Create a PR to merge the release branch back to develop. Example: https://github.com/woocommerce/pinterest-for-woocommerce/pull/439