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.

force-publish doesn't work as expected

See original GitHub issue

https://github.com/lerna/lerna/tree/master#--force-publish-packages

This will skip the lerna updated check for changed packages and forces a package that didn’t have a git diff change to be updated.

When I use --force-publish Lerna adds all lerna updated packages to the package I chose.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
kaorecommented, Jun 25, 2018

Hi,

Our project has several dozens of loosely coupled packages. It would be a pity to have to update the version of each and every package of the repo everytime one of them changes slightly - this tends to happen several times everyday. On 2.x.x, we just specify a scope and this fits our need well, but I understand that if we update this would no longer be possible.

What would the right approach be in our case?

2reactions
bertho-zerocommented, Jun 25, 2018

Ok I understand, maybe we could add an option that does that? I’m not the only one to request this and it is true that often when I publish a patch version it is not necessary to publish a patch version in all that depends on it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

asp.net - 'Publish failed' but build succeeded? - Stack Overflow
I had to copy project to C:\a\ and than publish. I suspect problems with long path. Strange, but worked for me.
Read more >
Force 'dotnet publish' to publish dependencies using ...
There are two workarounds: 1) Edit the project file (csproj) for your web project and add an msbuild property for ...
Read more >
How to Publish an Updated Version of an npm Package
Here is my understanding of the steps that are most commonly expected to be run when publishing a new version of an npm...
Read more >
Publishing failed. You are probably offline & No ... - YouTube
We understand it can be really frustrating when the site doesn't work as it should have. As we were working on a site...
Read more >
The 'Publish Project' button does nothing anymore
What I expected to happen: Open the publish dialog and let me select the publish profile like VS2015 does. I cannot see any...
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