feat(update-vscode): use todo items for conflicts in pr body
This commit is contained in:
parent
e79ca99466
commit
dac44ec2e0
@ -98,8 +98,8 @@ main() {
|
|||||||
git subtree pull --prefix lib/vscode vscode release/"${VSCODE_VERSION_TO_UPDATE}" --squash || true
|
git subtree pull --prefix lib/vscode vscode release/"${VSCODE_VERSION_TO_UPDATE}" --squash || true
|
||||||
|
|
||||||
# Get the files with conflicts before we commit them
|
# Get the files with conflicts before we commit them
|
||||||
# so we can list them in the PR body
|
# so we can list them in the PR body as todo items
|
||||||
CONFLICTS=$(git diff --name-only --diff-filter=U | while read -r line; do echo "- $line"; done)
|
CONFLICTS=$(git diff --name-only --diff-filter=U | while read -r line; do echo "- [ ] $line"; done)
|
||||||
PR_BODY=$(make_pr_body "$VSCODE_EXACT_VERSION" "$CONFLICTS")
|
PR_BODY=$(make_pr_body "$VSCODE_EXACT_VERSION" "$CONFLICTS")
|
||||||
|
|
||||||
echo -e "\nForcing a commit with conflicts"
|
echo -e "\nForcing a commit with conflicts"
|
||||||
|
Reference in New Issue
Block a user