Skip to content

Commit 53121e2

Browse files
Eunjae Leeshipjs
andauthored
fix(setup): add --tag to publish command in generated config (#916)
Co-authored-by: shipjs <shipjs@test.com>
1 parent 450a125 commit 53121e2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/shipjs/src/step/setup/addShipConfig.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ export default async ({
2222
const config = {
2323
...(isScoped &&
2424
isPublic && {
25-
publishCommand: ({ defaultCommand }) =>
26-
`${defaultCommand} --access public`,
25+
publishCommand: ({ defaultCommand, tag }) =>
26+
`${defaultCommand} --access public --tag ${tag}`,
2727
}),
2828
...(useMonorepo && {
2929
monorepo: {

0 commit comments

Comments
 (0)