Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(tool): Add melos version post hook for signing off commit #1761

Merged
merged 1 commit into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions docs/workflows.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down