release.sh: checkout correct branch before copying docs

next
Michael Stapelberg 2015-04-16 09:19:46 +02:00
parent d9f483e946
commit 57c56b2999
1 changed files with 4 additions and 0 deletions

View File

@ -135,6 +135,10 @@ debsign -k4AC8EE1D ${TMPDIR}/debian/*.changes
# Section 3: website
################################################################################
# Ensure we are in the correct branch for copying the docs.
cd ${TMPDIR}/i3
git checkout ${RELEASE_BRANCH}
cd ${TMPDIR}
git clone --quiet ${STARTDIR}/../i3.github.io
cd i3.github.io