Skip to content

Commit

Permalink
fix(setup): add --tag to publish command in generated config (#916)
Browse files Browse the repository at this point in the history
Co-authored-by: shipjs <shipjs@test.com>
  • Loading branch information
Eunjae Lee and shipjs committed Sep 3, 2020
1 parent 450a125 commit 53121e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/shipjs/src/step/setup/addShipConfig.js
Expand Up @@ -22,8 +22,8 @@ export default async ({
const config = {
...(isScoped &&
isPublic && {
publishCommand: ({ defaultCommand }) =>
`${defaultCommand} --access public`,
publishCommand: ({ defaultCommand, tag }) =>
`${defaultCommand} --access public --tag ${tag}`,
}),
...(useMonorepo && {
monorepo: {
Expand Down

0 comments on commit 53121e2

Please sign in to comment.