How to update Matomo
Here follows short instructions for how we update Matomo and plugin with
composer.
Update Matomo
- Change in composer.json under "require" to the latest version of Matomo "^latest version"
- Open terminal
- cd /your-directory
- composer update
- code .
- Commit change to the repo
- Login to [build.whitespace.se]((https://build.whitespace.se/)
- Choose Matomo and then the project you need to build
- Go to Build with Parameters
- Choose which site to build
- Click on Build
Update Matomo for /matomo-projects
- Go to pull requests
- Merge the pull request
- Go to [build.whitespace.se]((https://build.whitespace.se/)
- Go to Matomo and choose matomo-projects
- Go to build with parameters and choose which webiste to update
Update plugins
- Go to terminal
- cd premium.analy.cloud
- composer update
- code .
- Commit the change
- Or just merge the issues in github for those repos who have it
Add a plugin to composer.json
- Use the command
composer requirefor examplecomposer require matomo/matomo:^4.11.0 - Commit the changes.
- Go to build.whitespace.se and choose which matomo installtion you need to build.
- Go to build with parameters
- Choose prod and click bygg