diff --git a/docs/workflows.md b/docs/workflows.md index ccb4a947c41..22682f25e41 100644 --- a/docs/workflows.md +++ b/docs/workflows.md @@ -20,9 +20,6 @@ melos version --no-git-tag-version # If necessary adjust the required dynamite_runtime version in dynamite and stage the changes -# Needed until https://github.com/invertase/melos/issues/591 is supported -git commit --amend --signoff --no-edit - # Create PR and get it merged melos publish --git-tag-version diff --git a/melos.yaml b/melos.yaml index 7af39aa5475..3ab19660555 100644 --- a/melos.yaml +++ b/melos.yaml @@ -28,6 +28,9 @@ command: preCommit: | melos bootstrap git add packages/app/pubspec.lock + # Needed until https://github.com/invertase/melos/issues/591 is supported + post: | + git commit --amend --signoff --no-edit scripts: format: dart format --fix --line-length 120 .