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
yarn publish
attempts to create multiple identical git tags during lerna publish --canary
#1662
Comments
I now reverted back to lerna |
It appears to be As for properly fixing it, I guess we need to read the yarn source to figure out which inscrutable CLI option is required to disable this "helpful" tagging. Or just revert to always using |
yarn publish
attempts to create multiple identical git tags during lerna publish --canary
Passing |
thats great! will try that asap |
This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
after upgrading to lerna v3 I can't seem to get canary release to work anymore, not on CI, also not local.
Edit: I'm executing the following:
looking at the console output, it seems like lerna...
I'm left with
Help!
I also tried to add the
--no-git-tag-version
flag, so i would assume lerna does not try to tag the repo, but it doesn't seem to have any effectlerna.json
console output
➜ project git:(develop) npx lerna publish --canary minor --npm-tag=next lerna notice cli v3.3.0 lerna info canary enabled lerna info Looking for changed packages since 11d56dee^..11d56dee Found 3 packages to publish: - @mytag/mock-server => 3.8.0-alpha.5+11d56dee - @mytag/server => 3.8.0-alpha.5+11d56dee - @mytag/web => 3.8.0-alpha.5+11d56dee ? Are you sure you want to publish these packages? Yes lerna info publish Publishing packages to npm... mytag-web-3.8.0-alpha.5.tgz lerna notice lerna notice 📦 @mytag/web@3.8.0-alpha.5+11d56dee lerna notice === Tarball Details === lerna notice name: @mytag/web lerna notice version: 3.8.0-alpha.5+11d56dee lerna notice filename: mytag-web-3.8.0-alpha.5.tgz lerna notice mytag-mock-server-3.8.0-alpha.5.tgz mytag-server-3.8.0-alpha.5.tgz lerna notice lerna notice 📦 @mytag/mock-server@3.8.0-alpha.5+11d56dee lerna notice === Tarball Details === lerna notice name: @mytag/mock-server lerna notice version: 3.8.0-alpha.5+11d56dee lerna notice filename: mytag-mock-server-3.8.0-alpha.5.tgz lerna notice lerna notice lerna notice 📦 @mytag/server@3.8.0-alpha.5+11d56dee lerna notice === Tarball Details === lerna notice name: @mytag/server lerna notice version: 3.8.0-alpha.5+11d56dee lerna notice filename: mytag-server-3.8.0-alpha.5.tgz lerna notice lerna info published @mytag/web 3.8.0-alpha.5+11d56dee lerna ERR! yarn publish --ignore-scripts --tag next --new-version 3.8.0-alpha.5+11d56dee --non-interactive mytag-mock-server-3.8.0-alpha.5.tgz exited 1 in '@mytag/mock-server' lerna ERR! yarn publish --ignore-scripts --tag next --new-version 3.8.0-alpha.5+11d56dee --non-interactive mytag-mock-server-3.8.0-alpha.5.tgz stdout: yarn publish v1.7.0 [1/4] Bumping version... info Current version: 3.8.0-alpha.5 info New version: 3.8.0-alpha.5+11d56dee [2/4] Logging in... [3/4] Publishing... info Visit https://yarnpkg.com/en/docs/cli/publish for documentation about this command. lerna ERR! yarn publish --ignore-scripts --tag next --new-version 3.8.0-alpha.5+11d56dee --non-interactive mytag-mock-server-3.8.0-alpha.5.tgz stderr: error Command failed. Exit code: 128 Command: git Arguments: tag v3.8.0-alpha.5+11d56dee -am v3.8.0-alpha.5+11d56dee Directory: /Users/ct/tresmo/project Output: fatal: tag 'v3.8.0-alpha.5+11d56dee' already exists lerna ERR! yarn publish --ignore-scripts --tag next --new-version 3.8.0-alpha.5+11d56dee --non-interactive mytag-mock-server-3.8.0-alpha.5.tgz exited 1 in '@mytag/mock-server'
Context
trying to get the per-commit canary release to work again
Your Environment
lerna --version
npm --version
yarn --version
node --version
The text was updated successfully, but these errors were encountered: