For security and functionality reasons you should keep your project updated with latest version. Naviga maintain the version in StarterKit. Here's what you need to maintain in your project.
Update to latest WordPress patch version
Step 1: Test the new version locally
./bin/wordpress-install.sh-v5.8.0
./bin/wordpress-install.sh-v5.8.*
Step 2: Set the version you tested in bin/init.sh.
./bin/init.sh
### The version can contain wildcard:#+ 1.2.3 - Will fetch the exact version#+ 1.2.* - Will fetch the latest patch on version#+ 1.* - Will fetch the latest minor on version#WORDPRESS_VERSION="5.8.3"
This version will be used on server deploys.
Other developers will automatically get the version when running.
Step 3: Install the Wordpress version you specified.
makeinit# Choose to reinstall WordPress when prompted
# Check what packages can be updated (optional)
composer outdated
# Run with composer through Docker container (preferred)
make composer update
# Or run with locally installed composer
composer update