question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unknown option `atomic'

See original GitHub issue

Expected Behavior

Braking change. Expect that lerna publish to work as before.

Current Behavior

lerna publish fails with:

lerna notice cli v3.20.1
lerna info versioning independent
lerna info ci enabled
lerna info require-scripts enabled
...
lerna info execute Skipping releases
lerna info git Pushing tags...
lerna ERR! Error: Command failed: git push --follow-tags --no-verify --atomic origin master
lerna ERR! error: unknown option `atomic'

Possible Solution

Related to #2393

Context

This breaks our CI. We are blocked and cannot publish our modules.

Your Environment

Executable Version
lerna --version 3.20.1
npm --version 6.1.0
node --version 8.11.3

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
evocateurcommented, Jan 2, 2020

Published in v3.20.2

0reactions
evocateurcommented, Jan 2, 2020

Yeah, I spent the last 20 minutes or so cursing google’s inability to find what version of git is supported by various CI providers. I think 2.1.4 is the latest provided by debian 8 (jessie)'s core packages.

In any event, my fallback was too strict, I’ll be releasing a patch once CI passes

Read more comments on GitHub >

github_iconTop Results From Across the Web

git push --atomic - Not failing - Stack Overflow
When pushing more than one reference with the --atomic option, the server is supposed to perform a single atomic transaction to update the...
Read more >
1984093 – ebtables doesn't recognize --atomic-* arguments
Unless I'm mistaken, the atomic-* options are just a cryptic alternative to those given that atomicity is inherently guaranteed by ebtables-nft.
Read more >
Help with restoring from backup - Atomicorp
I ran mysqldump --all-databases on the temporary server. When I attempt to run the dumped sql, I am getting the error message "unknown...
Read more >
How do I get rid of "unknown option" error from tmux?
Change command from showw to show-options; Use -w switch for window option; use -q switch for quiet option to suppress errors from unset ......
Read more >
git-push Documentation - Git
git push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] ... This is the default if the configuration option remote.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found