]> git.sur5r.net Git - i3/i3/commitdiff
release.sh: checkout correct branch before copying docs
authorMichael Stapelberg <michael@stapelberg.de>
Thu, 16 Apr 2015 07:19:46 +0000 (09:19 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Thu, 16 Apr 2015 07:22:00 +0000 (09:22 +0200)
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