From e50967ab09c6420d0a838c446e2712c4c96a3374 Mon Sep 17 00:00:00 2001 From: Solene Rapenne Date: Tue, 19 Jul 2022 16:35:39 +0200 Subject: [PATCH] extra checks for publishing the right git branch --- publish.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/publish.sh b/publish.sh index 0c5e798..a52c455 100755 --- a/publish.sh +++ b/publish.sh @@ -1,5 +1,8 @@ #!/bin/sh +git switch main || exit +git pull -r || exit + if test -f /bsd # on OpenBSD then cd issues && make && cd ../