Title: [294872] trunk/Tools/Scripts/update-angle
Revision
294872
Author
[email protected]
Date
2022-05-25 23:58:23 -0700 (Wed, 25 May 2022)

Log Message

Generate better ChangeLogs in update-angle script
https://bugs.webkit.org/show_bug.cgi?id=238649

Patch by Kenneth Russell <[email protected]> on 2022-05-25
Auto-generate the preferred commit message format during ANGLE rolls
into a commit-message.txt file.

Reviewed by Kimmo Kinnunen.

* Tools/Scripts/update-angle:

Canonical link: https://commits.webkit.org/251002@main

Modified Paths

Diff

Modified: trunk/Tools/Scripts/update-angle (294871 => 294872)


--- trunk/Tools/Scripts/update-angle	2022-05-26 06:08:03 UTC (rev 294871)
+++ trunk/Tools/Scripts/update-angle	2022-05-26 06:58:23 UTC (rev 294872)
@@ -121,6 +121,13 @@
     echo "Press Enter to continue after fixing build:"
     read -r
     regenerate_changes_diff "origin/main"
+    echo "Generating contents of commit message into commit-message.txt."
+    echo "Be sure to copy out this file's contents and delete it before committing."
+    echo "Update ANGLE to $(git log -1 ${COMMIT_HASH} --format=%cs) (${COMMIT_HASH}))" > commit-message.txt
+    echo "" >> commit-message.txt
+    echo "Contains upstream commits:" >> commit-message.txt
+    echo git log --oneline "$PREVIOUS_ANGLE_COMMIT_HASH".."$COMMIT_HASH" --pretty="%h %s" >> commit-message.txt
+    git log --oneline "$PREVIOUS_ANGLE_COMMIT_HASH".."$COMMIT_HASH" --pretty="%h %s" >> commit-message.txt
     echo "Removing temporary git repository from Source/ThirdParty/ANGLE"
     rm -rf .git
     git add -A .
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to