Skip to content

Commit

Permalink
ci(release): include plugins in bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
merceyz committed Jun 1, 2023
1 parent 4370bff commit 06b7e08
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,14 @@ jobs:

- name: 'Build a binary for convenience'
run: |
yarn build:cli
yarn build:cli $(
yarn constraints query "
workspace(Cwd),
workspace_field(Cwd, 'scripts["update-local"]', _),
workspace_ident(Cwd, Ident),
sub_atom(Ident, 0, _, _, '@yarnpkg/plugin-')
" --json | jq -r '"--plugin='$(pwd)'/" + .Cwd' | xargs
)
TMPBIN=$(mktemp -d)
cp ./packages/yarnpkg-cli/bundles/yarn.js $TMPBIN/yarn.js
Expand Down

0 comments on commit 06b7e08

Please sign in to comment.