Skip to content

Commit

Permalink
Update backport
Browse files Browse the repository at this point in the history
  • Loading branch information
JackPGreen authored Aug 16, 2024
1 parent 0fe4d62 commit 7b694cf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backport
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ SUFFIX="${TARGET##*/}"
log_info "Backporting the last commit from $SOURCE onto $TARGET"

COMMIT_MSG=$(git show -s --format='%s' "$SOURCE")
ORIGINAL_PR_NUMBER=$(echo "$COMMIT_MSG" | grep --extended-regexp --only-matching '
ORIGINAL_PR_NUMBER=$(get_pr_number "$COMMIT_MSG")
NEW_COMMIT_MSG="$( echo "${COMMIT_MSG// \(\#$ORIGINAL_PR_NUMBER\)}" | sed -r 's/ \[.+\]//g') [$SUFFIX]"
UPSTREAM_URL="$(git remote get-url upstream)"
Expand Down

0 comments on commit 7b694cf

Please sign in to comment.