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

fix(release): invalid config path in hint for using skipLockFileUpdate #29425

Merged
merged 2 commits into from
Dec 23, 2024

Conversation

clxandstuff
Copy link
Contributor

@clxandstuff clxandstuff commented Dec 19, 2024

Current Behavior

When nx release version fails on updating lock file, the hint with invalid config path is displayed.

It says:
To disable this step entirely, set 'release.version.skipLockFileUpdate' to true in nx.json.

Expected Behavior

It should say:
To disable this step entirely, set 'release.version.generatorOptions.skipLockFileUpdate' to true in nx.json.

Related Issue(s)

Fixes #

@clxandstuff clxandstuff requested a review from a team as a code owner December 19, 2024 15:39
Copy link

vercel bot commented Dec 19, 2024

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

Name Status Preview Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview Dec 23, 2024 0:21am

Copy link

nx-cloud bot commented Dec 19, 2024

View your CI Pipeline Execution ↗ for commit 5988017.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 35m 52s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 58s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 1s View ↗
nx-cloud record -- nx format:check --base=c7e27... ✅ Succeeded 20s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 19s View ↗
nx documentation --no-dte ✅ Succeeded 41s View ↗

☁️ Nx Cloud last updated this comment at 2024-12-23 12:54:45 UTC

Copy link
Collaborator

@JamesHenry JamesHenry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix the commit message so that it is valid based on the prepush checks

Nx hint message is wrong "To disable this step entirely, set 'release.version.skipLockFileUpdate' to true in nx.json."

It is now, "To disable this step entirely, set 'release.version.generatorOptions.skipLockFileUpdate' to true in nx.json."
@JamesHenry JamesHenry merged commit 90e12a7 into nrwl:master Dec 23, 2024
6 checks passed
@JamesHenry JamesHenry changed the title fix(nx): invalid config path in hint for using skipLockFileUpdate fix(release): invalid config path in hint for using skipLockFileUpdate Dec 23, 2024
@JamesHenry
Copy link
Collaborator

Thank you!

Copy link

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 Dec 29, 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.

2 participants