chore: fix release:ui script

This commit is contained in:
Kagol 2023-03-17 19:31:42 +08:00
parent 0ef2704393
commit 1d15b81ea3
No known key found for this signature in database
GPG Key ID: 9E995265BF6376D0
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ const VERSION_TAG = process.env.VERSION_TAG || '0.1.0'
const NPM_WAREHOUSE = process.env.NPM_WAREHOUSE
const targetVersion = utils.getTinyVersion('themeVersion')
const targetVersionArr = targetVersion.split('.')
const themeVersionDependencies = `~${targetVersionArr[0]}.${targetVersionArr[1]}.0`
const themeVersionDependencies = `~${targetVersionArr[0]}.${targetVersionArr[1]}.${targetVersionArr.slice(-targetVersionArr.length + 2).join('.')}`
const typings = 'typings'
const packPackages = (p, packagePath) => {