merge-acfter-ci: don't append username to remote branch

This commit is contained in:
DavHau
2025-01-17 10:36:45 +07:00
parent 72ca99e2c7
commit 669295b8f7

View File

@@ -10,7 +10,7 @@ TMPDIR="$(mktemp -d)"
currentBranch="$(git rev-parse --abbrev-ref HEAD)"
user_unparsed="$(tea whoami)"
user="$(echo "$user_unparsed" | tr -d '\n' | cut -f4 -d' ')"
tempRemoteBranch="$user-$currentBranch"
tempRemoteBranch="$currentBranch"
# Function to check if a remote exists