Last active
April 1, 2023 01:23
-
-
Save mplscorwin/8e77be7e218b7f73595120a72a435824 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
# crude-ci - Inf loop running Emacs for Windows snapshot packaging | |
# | |
# Copyright 2023 Corwin Brust <[email protected]> | |
# | |
# This program is distributed under the terms of the GNU Public | |
# License version 3 or (at your option) any later version. | |
# | |
# the .private file exports SSH_KEY and SSH_USER, needed for rsync | |
if [[ -r .private ]] ; then | |
. .private | |
else | |
echo "Private settings missing"; | |
exit 1; | |
fi | |
while true ; | |
do | |
for VER in 30 29 ; | |
do | |
date | |
cd ~/emacs-build/git/emacs-$VER | |
if [[ $( git rev-parse HEAD ) != $( git rev-parse @{upstream}) ]] ; then | |
git pull | |
MV=$VER /d/emacs-build/build-dist.sh | |
fi | |
done | |
date | |
sleep 540 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment