Skip to content

Instantly share code, notes, and snippets.

@mplscorwin
Last active April 1, 2023 01:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mplscorwin/8e77be7e218b7f73595120a72a435824 to your computer and use it in GitHub Desktop.
Save mplscorwin/8e77be7e218b7f73595120a72a435824 to your computer and use it in GitHub Desktop.
#!/usr/bin/bash
# crude-ci - Inf loop running Emacs for Windows snapshot packaging
#
# Copyright 2023 Corwin Brust <corwin@bru.st>
#
# 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