From 01a4748d6b6dbdc36e71df63ed48b33cd24bd6a2 Mon Sep 17 00:00:00 2001 From: Qubasa Date: Thu, 30 May 2024 23:37:53 +0200 Subject: [PATCH] tea-create-pr: Fix non working assignees label --- pkgs/tea-create-pr/script.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/tea-create-pr/script.sh b/pkgs/tea-create-pr/script.sh index 7e6bbaab..a18351d8 100755 --- a/pkgs/tea-create-pr/script.sh +++ b/pkgs/tea-create-pr/script.sh @@ -4,7 +4,7 @@ set -euo pipefail remoteFork="${1:-origin}" remoteUpstream="${2:-upstream}" targetBranch="${3:-main}" -shift && shift +shift && shift && shift TMPDIR="$(mktemp -d)" currentBranch="$(git rev-parse --abbrev-ref HEAD)" user_unparsed="$(tea whoami)" @@ -51,6 +51,7 @@ fi git push --force -u "$remoteFork" HEAD:refs/heads/"$tempRemoteBranch" +set -x tea pr create \ --repo "$repo" \ --head "$user:$tempRemoteBranch" \