Maintenance: release pipeline fails due to command issue #1118
Labels
automation
This item relates to automation
completed
This item is complete and has been merged/shipped
internal
PRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)
Bug description
As part of the release process
lerna
calls theversion
command present in each one of thepackage.json
files. This command runs a series of other lifecycle hooks like liniting the codebase. In #1105 we changed the name of the script fromformat
tolint-fix
in all thepackage.json
files of the utilities.However, in that PR, we forgot to update the content of the
version
command that still referenced the old nameformat
.This PR updates the content of the command from
npm run format && git add -A src
tonpm run lint-fix && git add -A src
(format
becomeslint-fix
).Expected Behavior
Release process should run without errors.
Current Behavior
Release process throws an error because the
format
command is called byversion
but doesn't exist anymore.Possible Solution
Change the content of the
version
command fromnpm run format && git add -A src
tonpm run lint-fix && git add -A src
(format
becomeslint-fix
).Steps to Reproduce
Make a release, check result of this attempt.
Environment
Related issues, RFCs
#1105
The text was updated successfully, but these errors were encountered: