From: Michael Stapelberg Date: Thu, 16 Apr 2015 07:19:46 +0000 (+0200) Subject: release.sh: checkout correct branch before copying docs X-Git-Tag: 4.11~136 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=57c56b29995fc7816d2905a2996fcbf5030571e0;p=i3%2Fi3 release.sh: checkout correct branch before copying docs --- diff --git a/release.sh b/release.sh index c7505179..af42d9bf 100755 --- a/release.sh +++ b/release.sh @@ -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