1
0
forked from clan/clan-core

tea-create-pr: Fix non working assignees label

This commit is contained in:
Luis Hebendanz 2024-05-30 23:37:53 +02:00
parent a8762522c8
commit 01a4748d6b

View File

@ -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" \