Skip to content

Commit

Permalink
fix: add dist-tag to publish and add-channel logs
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdlg committed Nov 28, 2019
1 parent 8b47e7b commit db6ccd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/add-channel.js
Expand Up @@ -30,7 +30,7 @@ module.exports = async (npmrc, {npmPublish}, pkg, context) => {
result.stderr.pipe(stderr, {end: false});
await result;

logger.log(`Published ${pkg.name}@${version} on ${registry}`);
logger.log(`Added ${pkg.name}@${version} to dist-tag @${distTag} on ${registry}`);

return getReleaseInfo(pkg, context, distTag, registry);
}
Expand Down
2 changes: 1 addition & 1 deletion lib/publish.js
Expand Up @@ -29,7 +29,7 @@ module.exports = async (npmrc, {npmPublish, pkgRoot}, pkg, context) => {
result.stderr.pipe(stderr, {end: false});
await result;

logger.log(`Published ${pkg.name}@${version} to ${registry}`);
logger.log(`Published ${pkg.name}@${version} to dist-tag @${distTag} on ${registry}`);

return getReleaseInfo(pkg, context, distTag, registry);
}
Expand Down

0 comments on commit db6ccd2

Please sign in to comment.