-
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 <jeremy.e.deutsch@gmail.com> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <jeremy.e.deutsch@gmail.com> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <jeremy.e.deutsch@gmail.com> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <jeremy.e.deutsch@gmail.com> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <jeremy.e.deutsch@gmail.com> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <jeremy.e.deutsch@gmail.com> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <jeremy.e.deutsch@gmail.com> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <jeremy.e.deutsch@gmail.com> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <jeremy.e.deutsch@gmail.com> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <jeremy.e.deutsch@gmail.com> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <jeremy.e.deutsch@gmail.com> * small tweaks to remove a couple warnings * a few more typos fixes * feedback * remove empty section * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <jeremy.e.deutsch@gmail.com> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <jeremy.e.deutsch@gmail.com> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <jeremy.e.deutsch@gmail.com> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <jeremy.e.deutsch@gmail.com> * Update CHANGELOG.md Co-Authored-By: Jeremy Deutsch <jeremy.e.deutsch@gmail.com> * 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 <eloy.de.enige@gmail.com> * 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 <eloy.de.enige@gmail.com> * Apply suggestions from code review Co-Authored-By: Eloy Durán <eloy.de.enige@gmail.com> * Add Flipper, feedback from reviews Co-authored-by: Eloy Durán <eloy.de.enige@gmail.com> * 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 <lorenzo.sciandra@gmail.com> * Update CHANGELOG.md * Update CHANGELOG.md Co-authored-by: Lorenzo Sciandra <lorenzo.sciandra@gmail.com> * Fix typo Co-Authored-By: Core <aukwat@gmail.com> * Remove a known issue * Update CHANGELOG.md Co-Authored-By: Michał Pierzchała <thymikee@gmail.com> Co-authored-by: Eloy Durán <eloy.de.enige@gmail.com> Co-authored-by: Jeremy Deutsch <jeremy.e.deutsch@gmail.com> Co-authored-by: Jeremy Deutsch <jeremy.deutsch@smarkets.com> Co-authored-by: Ricky <rickhanlonii@gmail.com> Co-authored-by: Core <aukwat@gmail.com> Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
Fixes https://github.com/react-native-community/releases/pull/166/files#r387227509 & https://github.com/react-native-community/releases/pull/166/files#r387227231