]> git.sur5r.net Git - i3/i3/blobdiff - release.sh
release.sh: checkout correct branch before copying docs
[i3/i3] / release.sh
index c75051798aa8f0502516c665967c9d5f342ba4b0..af42d9bf8b7d8f99637af760dc14e804e9333e28 100755 (executable)
@@ -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