pyratelog

personal blog
git clone git://git.pyratebeard.net/pyratelog.git
Log | Files | Refs | README

commit 6cf454925c7cd7a44b9e497c5bb358922033dcab
parent 44101495759aad8296bd7ad25429922b699e8bf6
Author: pyratebeard <root@pyratebeard.net>
Date:   Fri, 10 May 2024 15:43:32 +0100

don't create draft on main branch

Diffstat:
Mscripts/draft | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/scripts/draft b/scripts/draft @@ -14,6 +14,9 @@ fi if [ "$RND" = "mov" ] || [ "$RND" = "lit" ] ; then git checkout -q rnd.${RND}.rec git merge main +elif [ "$TITLE" == "main" ] ; then + echo "on main branch" + exit 1 else git branch | grep ${TITLE} && \ git checkout -q ${TITLE} || \