project/bundles/CD/appimage/daily_build.sh
raw| 1 | #!/bin/bash |
| 2 | |
| 3 | # SPDX-FileCopyrightText: 2008-2026 by Gilles Caulier, <caulier dot gilles at gmail dot com> |
| 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
| 7 | |
| 8 | while true; |
| 9 | do |
| 10 | DATE=`date +%H%M` |
| 11 | |
| 12 | if [[ $DATE == "1100" ]] ; then |
| 13 | |
| 14 | echo "Linux bundle started at $(date)" |
| 15 | cd /home/gilles/Documents/7.x/project/bundles/appimage |
| 16 | git pull |
| 17 | ./update.sh |
| 18 | echo "Linux bundle completed at $(date)" |
| 19 | |
| 20 | fi |
| 21 | |
| 22 | sleep 20s |
| 23 | |
| 24 | done |