Skip to content

Commit

Permalink
fix: add dist-tag to publish log
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdlg committed Dec 17, 2018
1 parent 02bea6c commit 2de37a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/publish.js
Expand Up @@ -19,7 +19,7 @@ module.exports = async ({npmPublish, pkgRoot}, pkg, context) => {
const registry = getRegistry(pkg, context);
const distTag = getChannel(channel);

logger.log(`Publishing version ${version} to npm registry`);
logger.log(`Publishing version ${version} to npm registry on dist-tag ${distTag}`);
const result = execa('npm', ['publish', basePath, '--tag', distTag, '--registry', registry], {cwd, env});
result.stdout.pipe(
stdout,
Expand Down

0 comments on commit 2de37a1

Please sign in to comment.