Skip to content

Commit

Permalink
chore: fix publish pkgDir path
Browse files Browse the repository at this point in the history
  • Loading branch information
qmhc committed Jan 30, 2024
1 parent 6c3095b commit 7c20abe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/publish.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { resolve } from 'node:path'

import minimist from 'minimist'
import { logger, publish } from '@vexip-ui/scripts'
import { rootDir } from './constant'
Expand All @@ -15,7 +13,7 @@ const isDryRun = args.dry || args.d
const releaseTag = args.tag || args.t

publish({
pkgDir: resolve(rootDir, 'package.json'),
pkgDir: rootDir,
isDryRun,
releaseTag
}).catch(error => {
Expand Down

0 comments on commit 7c20abe

Please sign in to comment.