Merge pull request 'tea-create-pr: fix $TMPDIR not set' (#56) from DavHau-main into main
This commit is contained in:
@@ -4,6 +4,7 @@ set -euo pipefail
|
|||||||
remoteName="${1:-origin}"
|
remoteName="${1:-origin}"
|
||||||
targetBranch="${2:-main}"
|
targetBranch="${2:-main}"
|
||||||
shift && shift
|
shift && shift
|
||||||
|
TMPDIR="$(mktemp -d)"
|
||||||
currentBranch="$(git rev-parse --abbrev-ref HEAD)"
|
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)"
|
||||||
tempRemoteBranch="$user-$currentBranch"
|
tempRemoteBranch="$user-$currentBranch"
|
||||||
|
|||||||
Reference in New Issue
Block a user