This pull request renames the YARN_NPM_TAG environment variable to PUBLISH_NPM_TAG. The reason for doing so is that
environment variables starting with YARN_ are reserved for Yarn configuration options. Hence, if we use YARN_NPM_TAG
as an environment variable, it will cause Yarn to throw an error. On the other hand, PUBLISH_NPM_TAG is not
a reserved environment variable name, which makes it a preferred choice.
Description
This pull request renames the
YARN_NPM_TAG
environment variable toPUBLISH_NPM_TAG
. The reason for doing so is that environment variables starting withYARN_
are reserved for Yarn configuration options. Hence, if we useYARN_NPM_TAG
as an environment variable, it will cause Yarn to throw an error. On the other hand,PUBLISH_NPM_TAG
is not a reserved environment variable name, which makes it a preferred choice.Changes
YARN_NPM_TAG
toPUBLISH_NPM_TAG
.