X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=release.sh;h=b3e8461050824771a607ededce752c2a2969b1ab;hb=9537ada5ad8ec1f43a3dbdf69d92cc6b0dd0ac0b;hp=1dab4ee14572c7cf656d5f1ce9322767901f2c8d;hpb=2bde6f080ecd5d0e2dccb20a1936a5d40af7ff84;p=i3%2Fi3 diff --git a/release.sh b/release.sh index 1dab4ee1..b3e84610 100755 --- a/release.sh +++ b/release.sh @@ -1,9 +1,9 @@ #!/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_BRANCH="master" +export RELEASE_VERSION="4.11" +export PREVIOUS_VERSION="4.10.4" +export RELEASE_BRANCH="next" if [ ! -e "../i3.github.io" ] then @@ -12,6 +12,12 @@ then 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." @@ -224,5 +230,4 @@ echo "" echo "Announce on:" echo " twitter" echo " google+" -echo " mailing list" echo " #i3 topic"