ui: 修复移动端导航栏丢失的问题

This commit is contained in:
undefined committed 2021-05-27 12:47:06 +08:00
1 parent 4d3501c611
commit 6d496258a6
6 files changed
+14 -10

No files matched your search

+5 -1
View File
@@ -6,6 +6,7 @@
const { gt } = require('semver');
const latest = require('latest-version');
const path = require('path');
const ora = require('ora');
const { getWorkspaces, spawnAsync } = require('./utils');
@@ -54,7 +55,10 @@ if (CI && (!tag || GITHUB_EVENT_NAME !== 'push')) {
if (Object.keys(bumpMap).length) {
for (const name in bumpMap) {
console.log(`publishing ${name}@${bumpMap[name]} ...`);
await spawnAsync(`yarn npm publish ${name} --new-version ${bumpMap[name]}${tag === 'dev' ? '-dev' : ''} --access public --tag ${tag}`);
await spawnAsync(
`yarn npm publish --new-version ${bumpMap[name]}${tag === 'dev' ? '-dev' : ''} --access public --tag ${tag}`,
path.resolve(`packages/${name}`),
);
}
}
console.log('Release created successfully.');