Open AGN907 opened 4 months ago
After reproducing in another repo I'm getting a different error in the same place
In my case I was not expecting any files to be changed and committed and was receiving this error message. I believe this is because the Nx config defaults to true
for doing a changelog commit. I got around this issue by updating my nx.json
config and set release.changelog.git.commit
to false
. This worked for my use case because I was not expecting to update any files (package.json
or CHANGELOG.md
) and commit them back.
Current Behavior
Using the programmatic API for nx release, not using the
releasePublish
just thereleaseVersion
andreleaseChangelog
The problem is
releaseChangelog
throws an error after generating a changelog and before creating a GitHub release,Even though staged files are waiting to be committed.
Things to note is that this happens only on the programmatic API and the standalone
nx release changelog
but not innx release
release script
Expected Behavior
Launching the release script should version packages, generate a changelog, and release a GitHub release
GitHub Repo
Repo
Steps to Reproduce
Nx Report
Failure Logs
Package Manager Version
pnpm : 9.1.4
Operating System
Additional Information
No response