Skip to content

Commit

Permalink
fix: publish
Browse files Browse the repository at this point in the history
  • Loading branch information
zaaack committed Sep 30, 2024
1 parent 189a275 commit e9f4234
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Foyfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,8 @@ option('-v, --version <version>', 'patch | minor | major', { default: 'patch' })
task<{ version: string }>('publish', ['preversion'.options(ctx => ({ version: ctx.options.version }))], async ctx => {
await ctx.exec([
`npm version ${ctx.options.version}`,
`git push origin master`,
`git push origin master --tags -f`,
`npm --registry https://registry.npmjs.org/ publish`,
`npm publish --registry=https://registry.npmjs.org/ --access public`,
`git push origin master --tags`,
])
})

Expand Down

0 comments on commit e9f4234

Please sign in to comment.