🚫
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
Step 2: Create a Branch
🚫
Important
Follow Naming Guidelines.
terminal
git checkout -b 'Branch_Name'
Step 3: Update or Downgrade via Composer
Recommended way for Updating plugins is via composer you can run composer command below.
Internal Plugins via AIOS Resources
terminal
composer require aios-packages/aios-agents:1.5.4
or
terminal
composer update aios-packages/aios-agents:1.5.4
Example: If you want to update aios-agents
to version 1.5.4
you can run the command above.
terminal
composer require <package_name> — Installs or updates a plugin.
External Plugins wpackagist
terminal
composer require wpackagist-plugin/post-types-order:2.3.2
or
terminal
composer update wpackagist-plugin/post-types-order:2.3.2
Example: If you want to update post-types-order
to version 2.3.2
you can run the command above.
terminal
composer require <package_name> — Installs or updates a plugin.
Step 4: Once you are done editing the files,
add or stage your changes.
terminal
git add .
Step 5: Commit the changes you’ve made.
terminal
git commit -m '<commit_message>'
Step 6: Push your changes.
terminal
git push origin 'Branch_Name'
Step 7: Create Merge Request.
terminal
https://gitlab.forge99.com/your_project_group/your_project_url
Last updated on