Skip to content

Rewrite changelog script from Bash to JavaScript#10782

Merged
Gudahtt merged 1 commit intodevelopfrom
rewrite-changelog-script
Mar 31, 2021
Merged

Rewrite changelog script from Bash to JavaScript#10782
Gudahtt merged 1 commit intodevelopfrom
rewrite-changelog-script

Conversation

@Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Mar 31, 2021

The auto-changelog script has been rewritten from Bash to JavaScript. Functionally it should behave identically.

@Gudahtt Gudahtt requested review from a team and kumavis as code owners March 31, 2021 13:44
@Gudahtt Gudahtt requested a review from ryanml March 31, 2021 13:44
@Gudahtt Gudahtt force-pushed the rewrite-changelog-script branch from 9dd96b7 to cd84643 Compare March 31, 2021 13:49
The `auto-changelog` script has been rewritten from Bash to JavaScript.
Functionally it should behave identically.
@Gudahtt Gudahtt force-pushed the rewrite-changelog-script branch from cd84643 to b439050 Compare March 31, 2021 14:00
@metamaskbot
Copy link
Collaborator

Builds ready [b439050]
Page Load Metrics (677 ± 54 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint499165115
domContentLoaded38382467611354
load38982567711354
domInteractive38382367511354

Copy link
Contributor

@brad-decker brad-decker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Awesome work.

* @param {Array<string>} [args] - The arguments to pass to the command
* @returns {Array<string>} Lines of output received via STDOUT
*/
async function runCommand(command, args) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks extremely robust. Well done.

});
} catch (error) {
/**
* The error is re-thrown here in an `async` context to preserve the stack trace. If this was
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@Gudahtt Gudahtt merged commit b1dcbce into develop Mar 31, 2021
@Gudahtt Gudahtt deleted the rewrite-changelog-script branch March 31, 2021 16:45
@github-actions github-actions bot locked and limited conversation to collaborators Mar 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants