#!/bin/zsh
# This script is used to prepare a new release of i3.
-export RELEASE_VERSION="4.10.3"
-export PREVIOUS_VERSION="4.10.2"
+export RELEASE_VERSION="4.10.4"
+export PREVIOUS_VERSION="4.10.3"
export RELEASE_BRANCH="master"
if [ ! -e "../i3.github.io" ]
exit 1
fi
+if ! (cd ../i3.github.io && git pull)
+then
+ echo "Could not update ../i3.github.io repository"
+ exit 1
+fi
+
if [ ! -e "RELEASE-NOTES-${RELEASE_VERSION}" ]
then
echo "RELEASE-NOTES-${RELEASE_VERSION} not found."