Skip to content
Merged
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
9 changes: 6 additions & 3 deletions scripts/merge-forward.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ set -exo pipefail
git fetch --all
git checkout -B v2-main origin/v2-main

git merge origin/master --no-edit

# Some package rules differ between v1 and v2, most notably which packages can be public vs private.
# These differences are fixable via 'pkglint', so we run that and commit the delta (if any).
lerna run pkglint && { git diff --quiet || git commit -am 'automatic pkglint fixes'; }

git merge origin/master --no-edit
yarn install --frozen-lockfile
yarn pkglint
# Commit the difference, if there is one.
git diff --quiet || git commit -am 'automatic pkglint fixes'