Skip to Content
🚫
Important

The auth.json file is required for this to work.

Updating Plugins

In this example, we will be editing the training-ap-panorama

Note

If you have already cloned the repository, don’t forget to run git pull origin "Branch_Name". You can skip step 1.

Step 1: Given that you have not cloned the existing repository yet

terminal
git clone [email protected]:training/training-ap-panorama.git

Video link here

Step 2: Create a Branch

🚫
Important

Follow Naming Guidelines.

terminal
git checkout -b 'Branch_Name'

Step 3: Open and Edit composer.json

Update plugin version via composer.json

Internal Plugins

Edit version on "repositories". For internal plugins, please visit AIOS Resources to check the latest version. Video link here

External Plugins

For external plugin just do the same how internal works but this time you just need to go to "require" and change to latest version. please visit Wpackagist to check the latest version. Video link here

Alternative way for Updating Internal and External Plugin

terminal
composer require <package_name> Installs or updates a plugin. composer require <package_name>:<version> Installs a specific version or downgrades to an earlier version. example : composer require aios-packages/aios-agents:1.5.4 example : composer require wpackagist-plugin/post-types-order:2.3.2

By running commands above you can skip step 4 it will automatically run update.

Step 4: Update Composer

Once you are done editing the composer.json just simply run the command. Video link here

terminal
composer update

Step 5: Once you are done editing the files,

add or stage your changes.

terminal
git add .

Step 6: Commit the changes you’ve made.

terminal
git commit -m '<commit_message>'

Step 7: Push your changes.

terminal
git push origin 'Branch_Name'

Step 8: Create Merge Request.

terminal
https://gitlab.forge99.com/your_project_group/your_project_url
Last updated on