Skip to content

fix(release): filtering publish by project or group should exclude task deps#21231

Merged
JamesHenry merged 2 commits into
nrwl:masterfrom
JamesHenry:filtered-publish-exclude-task-deps
Jan 22, 2024
Merged

fix(release): filtering publish by project or group should exclude task deps#21231
JamesHenry merged 2 commits into
nrwl:masterfrom
JamesHenry:filtered-publish-exclude-task-deps

Conversation

@JamesHenry

@JamesHenry JamesHenry commented Jan 19, 2024

Copy link
Copy Markdown
Contributor

Current Behavior

The nx-release-publish target depends on the nx-release-publish target of its deps and executes the full task graph irrespective of release level filtering.

Expected Behavior

When filtering by group or projects as part of release, only the nx-release-publish target of projects within the filtered subset will be executed.

This behaviour has been verified on the Fluent UI repo with @Hotell

Related Issue(s)

Fixes #21116

@vercel

vercel Bot commented Jan 19, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Jan 19, 2024 2:07pm

@JamesHenry JamesHenry marked this pull request as ready for review January 19, 2024 19:43
@JamesHenry JamesHenry requested a review from a team as a code owner January 19, 2024 19:43
@JamesHenry JamesHenry enabled auto-merge (squash) January 19, 2024 19:44
@JamesHenry JamesHenry merged commit 3d4238a into nrwl:master Jan 22, 2024
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jan 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nx release: publish -g triggers publish for whole dependency tree beyond version group

2 participants