You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to create an Azure Pipeline using lerna publish --yes --message "Publishing [skip ci]", but Lerna is ignoring the --yes option and the pipeline stalls waiting for confirmation of the new package version.
Expected Behavior
According to the lerna publish documentation, --yes is supposed to bypass the confirmation prompt, allowing the pipeline to complete unattended. I've tried this from both our build environment, as well as my local command line and confirmed that it is an issue on both MacOS and Ubuntu.
Current Behavior
We are trying to create an Azure Pipeline using
lerna publish --yes --message "Publishing [skip ci]"
, but Lerna is ignoring the--yes
option and the pipeline stalls waiting for confirmation of the new package version.Expected Behavior
According to the
lerna publish
documentation,--yes
is supposed to bypass the confirmation prompt, allowing the pipeline to complete unattended. I've tried this from both our build environment, as well as my local command line and confirmed that it is an issue on both MacOS and Ubuntu.https://github.com/lerna/lerna/tree/main/libs/commands/publish#readme
Steps to Reproduce
The following steps show the issue under Lerna 7.4.2 and Lerna 8.1.2 on both MacOS and Ubuntu:
lerna publish --yes
from the command lineFailure Logs / Configuration
The command prompt awaits confirmation for the suggested versions, rather than continuing with out the prompt
Environment
Lerna 7.4.2 or 8.1.2
MacOS, Ubuntu
The text was updated successfully, but these errors were encountered: