Skip to content

Commit

Permalink
Use the exact flag (#2907)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffposnick authored Aug 6, 2021
1 parent 494222e commit 13cdf36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gulp-tasks/publish-lerna.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ const ol = require('common-tags').oneLine;
const logHelper = require('../infra/utils/log-helper');

async function publish_lerna() {
const options = ['publish', '--force-publish'];
// See https://github.com/GoogleChrome/workbox/issues/2904#issuecomment-894452253
const options = ['publish', '--force-publish', '--exact'];

// gulp publish --distTag=latest would be the most common.
if (global.cliOptions.distTag) {
Expand Down

0 comments on commit 13cdf36

Please sign in to comment.