The command dotnet add package PACKAGE does not install the latest version of a package. Isn't it supposed to check for the latest version when we are not giving a -v flag?
Also, when I run the command, the CLI is installing the oldest version of the package. It's important for me to dynamically get the latest version as I'm running an automation job which will install the latest package in repo2 when repo1 is done adding a new version of the package to GitHub packages.