Create a new version of any plugin for Woo repo

Run ddev

Open Ubuntu from your computer. Login to the system and navigate to the website you want to create the new version of the plugin. Then type the following command to start the DDEV.

ddev start

Re-create translation file .pot

If you have added new translations you might want to update your pot file to include these new strings. In order to do that enter your plugin folder from your terminal.

/dev/your-wp-install/wp-content/plugins/your-plugin

and run the following command

wp i18n make-pot . languages/your-plugin-name.pot

Update files

Update the following files with the latest version tag. Do not forget to add the WC tested up to

  • changelog.txt
  • readme.txt
  • plugin-main-file.php

Run PHPCS for check

Go to the following path in your computer:

C:\Users\User\phpcs

Copy-paste here the folder of the plugin and then open the terminal enter to this folder and run these two commands

check-errors

and then:

fix-errors

If the errors are zero at the end you are ready to upload the file to WooCommerce.