From db6ccd2fcf30e5e700c1370316e4f61ed20c2c31 Mon Sep 17 00:00:00 2001 From: Pierre Vanduynslager Date: Wed, 27 Nov 2019 18:29:15 -0500 Subject: [PATCH] fix: add dist-tag to publish and add-channel logs --- lib/add-channel.js | 2 +- lib/publish.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/add-channel.js b/lib/add-channel.js index b7d64c8a..6e84aab9 100644 --- a/lib/add-channel.js +++ b/lib/add-channel.js @@ -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); } diff --git a/lib/publish.js b/lib/publish.js index e6f6a519..48c8beda 100644 --- a/lib/publish.js +++ b/lib/publish.js @@ -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); }