-
Notifications
You must be signed in to change notification settings - Fork 404
[changelog-generator] Fix original commit resolving #169
Conversation
return git( | ||
gitDir, | ||
"log", | ||
"master", | ||
"--pretty=format:%H", | ||
`--grep=${drev}` | ||
`--grep=${match[0]}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was too ambiguous, as some commit messages refer to these differential revisions too.
return git( | ||
gitDir, | ||
"log", | ||
"master", | ||
"--pretty=format:%H", | ||
`--grep=${drev}` | ||
`--grep=${match[0]}` | ||
).then(sha => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you want to add an assert that there is only one match?
@@ -5,7 +5,8 @@ | |||
"scripts": { | |||
"format": "prettier *.md scripts{,/**}/*.js --write", | |||
"format:check": "prettier *.md scripts{,/**}/*.js --list-different", | |||
"generate": "ts-node --transpile-only ./scripts/changelog-generator.ts", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this change do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes it possible to have scripts that specify node
options, such as the generate:debug
command that allows attaching a debugger. When $_NODE_OPTS
is undefined the command is technically identical to the previous version.
Alright, shipping it |
* changelog for 0.62 up to rc3 * [CHANGELOG] Update after fixing commit resolving #169 * [CHANGELOG] Update for v0.62.0-rc.4 * [CHANGELOG] Sort unknowns by author * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <[email protected]> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <[email protected]> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <[email protected]> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <[email protected]> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <[email protected]> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <[email protected]> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <[email protected]> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <[email protected]> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <[email protected]> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <[email protected]> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <[email protected]> * small tweaks to remove a couple warnings * a few more typos fixes * feedback * remove empty section * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <[email protected]> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <[email protected]> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <[email protected]> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <[email protected]> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <[email protected]> * last feedback from Jeremy * couple other tweaks * better fix for it * adding a draft for the intro * Update CHANGELOG.md Co-Authored-By: Eloy Durán <[email protected]> * changelog: move around some misplaced commits (#174) * add more details about CLI upgrade * Address unknown changelog entries (#175) * Address unknown changelog entries * Updates from feedback * Add andorid changes back * Groom 0.62 Changelog (#176) * Groom 0.62 Changelog * Update CHANGELOG.md Co-Authored-By: Eloy Durán <[email protected]> * Apply suggestions from code review Co-Authored-By: Eloy Durán <[email protected]> * Add Flipper, feedback from reviews Co-authored-by: Eloy Durán <[email protected]> * changelog: removed duplicates and fixed inconsistent formatting (#177) * Update 0.62 description (#178) * Update 0.62 description * Apply suggestions from code review Co-Authored-By: Lorenzo Sciandra <[email protected]> * Update CHANGELOG.md * Update CHANGELOG.md Co-authored-by: Lorenzo Sciandra <[email protected]> * Fix typo Co-Authored-By: Core <[email protected]> * Remove a known issue * Update CHANGELOG.md Co-Authored-By: Michał Pierzchała <[email protected]> Co-authored-by: Eloy Durán <[email protected]> Co-authored-by: Jeremy Deutsch <[email protected]> Co-authored-by: Jeremy Deutsch <[email protected]> Co-authored-by: Ricky <[email protected]> Co-authored-by: Core <[email protected]> Co-authored-by: Michał Pierzchała <[email protected]>
Fixes https://github.com/react-native-community/releases/pull/166/files#r387227509 & https://github.com/react-native-community/releases/pull/166/files#r387227231