Fixing tea-create-pr

This commit is contained in:
Luis Hebendanz 2023-10-31 13:16:19 +01:00 committed by Jörg Thalheim
parent e11b0481a0
commit 9875d5d2a3

View File

@ -6,7 +6,7 @@ targetBranch="${2:-main}"
shift && shift
TMPDIR="$(mktemp -d)"
currentBranch="$(git rev-parse --abbrev-ref HEAD)"
user="$(tea login list -o simple | cut -d" " -f4)"
user="$(tea login list -o simple | cut -d" " -f4 | head -n1)"
tempRemoteBranch="$user-$currentBranch"
nix fmt -- --fail-on-change