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

--no-git-tag-version --allow-same-version' after upgrading to version 8.0.2 #151

Open
DanSallau opened this issue Feb 9, 2024 · 0 comments

Comments

@DanSallau
Copy link

DanSallau commented Feb 9, 2024

Hi ,

I have semantic-release in our monerepo that was working find. We recently upgraded to version 23.0.2 from version version 20.1.3 and with semantic-release-monorepo version 8.0.2 from 7.0.2 since then our packages were not able to release. throwing the errors below

'Command failed with exit code 1: npm version 2.2.0 --userconfig /tmp/3b47c665b78a38995608feea7e3b8449/.npmrc --no-git-tag-version --allow-same-version',

I have few packages in my monorepo and each package has a version "version": "0.0.0-development", .

packages

  • widgets
  • builder (has peerDependency widgets).

I noticed the message below from the logs

npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: repo/[email protected]
npm WARN Found: repo/builder@undefined
npm WARN node_modules/repo/builder
npm WARN workspace packages/builder from the root project
npm WARN

We are not updating the version in package.json we simply use "version": "0.0.0-development", and allow semantic-release to handle the update in the released version. I spent the whole day trying to make this upgrade works t no avail. Any help would be appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant