From 57c56b29995fc7816d2905a2996fcbf5030571e0 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 16 Apr 2015 09:19:46 +0200 Subject: [PATCH] release.sh: checkout correct branch before copying docs --- release.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.2