1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-28 13:15:25 +00:00

feat(update-vscode): use todo items for conflicts in pr body

This commit is contained in:
Joe Previte 2021-03-11 10:50:06 -07:00
parent e79ca99466
commit dac44ec2e0
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24

View File

@ -98,8 +98,8 @@ main() {
git subtree pull --prefix lib/vscode vscode release/"${VSCODE_VERSION_TO_UPDATE}" --squash || true
# Get the files with conflicts before we commit them
# so we can list them in the PR body
CONFLICTS=$(git diff --name-only --diff-filter=U | while read -r line; do echo "- $line"; done)
# 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)
PR_BODY=$(make_pr_body "$VSCODE_EXACT_VERSION" "$CONFLICTS")
echo -e "\nForcing a commit with conflicts"