-
Notifications
You must be signed in to change notification settings - Fork 190
Build & Release
Willington Vega edited this page Dec 17, 2020
·
33 revisions
- Ensure the
readme.txtandchangelog.txtfiles have changelog entries for the changes included in the new version - Ensure the changelog date and version uses the following format:
{year}.nn.nn {version}-dev.{number}. Sake expects to see and will replace2020.nn.nnwith the current version and{version}-dev.{number}with the version selected during deploy. - Ensure that the value for the
Stable tagheader inreadme.txtis{version}-dev.{number} - Ensure that the value for the
WC_Facebookcommerce::VERSIONconstant is{version}-dev.{number} - Ensure that the value for the
Versionheader infacebook-for-woocommerce.phpis{version}-dev.{number} - Ensure you have no untracked files or uncommitted changes on your working directory
- Set the
WP_SVN_USERenvironment variable to the username that should be used to push changes to WordPress.org. Saké will ask for the password the first time that user attempts to commit. - Use
npx sake deploy --deployAssets=0to skip theshell:svn_commit_assetsaction not used on this repo
If you deploy from a branch, before merging the changes into master, follow these steps to fix the tag that Sake creates:
-
git fetchto get the latest tags -
git tag -d {version}to delete the tag thatsakecreated git tag {version} {hash of Facebook for WooCommerce versioning commit}-
git push --tags -fto overwrite the tag on GitHub with the modified tag