Closed exequiel09 closed 2 months ago
Not sure if the output when dry run should be like this
NX Staging changed files with git
Would stage files in git with the following command, but --dry-run was set:
git add apps/web/package.json
Instead, I got this (locally):
Closing. I got fixed it by removing the release config in the problematic project's project.json file
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
Current Behavior
When running locally,
nx release
command can proceed without problems but when running in GH actions, there are instances where it can bump the versions but cannot commit back the changes to the file system even if the changed filespackage.json
is not in the.gitignore
Expected Behavior
nx release
git functionality can successfully callgit add
andgit commit
without any problems.GitHub Repo
No response
Steps to Reproduce
This only happens in GH actions.
npx nx release --skip-publish
in a separate GH actionnpx nx release publish
in a separate GH actionNx Report
Failure Logs
Package Manager Version
10.8.2
Operating System
Additional Information
This only happens in GH actions. When run locally, the problem doesn't occur.