This script automates the process of cloning the divkit-facade-pipeline repository, running the update-divkit-lib.sh script, and cleaning up temporary files. It is intended to be executed on a CI machine as a scheduled cron job.
Ensure that the following dependencies are installed on the CI machine:
- Git
- Bash
- Cron (for scheduling the script)
-
Save the script as
update-divkit.shand give it execute permissions:chmod +x update-divkit.sh
-
Run the script
update-divkit-lib.shsh update-divkit.sh