Commit 31392b5d authored by josd's avatar josd


parent 75170503
((!$#)) && echo Missing release message! && exit 1
pushd ~/
if ! cmp /opt/eye/src/eye.prolog eye.prolog >/dev/null 2>&1
export RELEASE="$(date -u +"%y.%m%d.%H%M")"
cat /opt/eye/src/eye.prolog | sed -e "s/EYE.*josd/EYE v$RELEASE josd/" > eye.prolog
sed -i '3 i\[v'"$RELEASE"'] '"$1"'' RELEASE
swipl -q -f eye.prolog -g main -- --version 2>&1 | grep josd > VERSION
sudo ./
mkdir -p /tmp/eye
rsync -azv eye.prolog eye.cmd install.cmd INSTALL LICENSE RELEASE VERSION /tmp/eye
pushd /tmp
zip -9ur eye
rsync -azv /tmp/ .
git commit -a -m "$1"
git push
git checkout gh-pages
git pull
git merge master -m republish
git push
git checkout master
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment