Commit c541abbf authored by 邓晓峰's avatar 邓晓峰

fix: release publish bug

parent 1463eb93
Pipeline #27325 failed with stages
in 15 seconds
......@@ -21,9 +21,6 @@ const DeviceTree = (props) => {
const [treeData, setTreeData] = useState([]);
const [params, setParams] = useState({});
const noop = () => {
console.log('noop123');
};
useEffect(() => {
const param = {
pageIndex: serviceParams.pageIndex || 1,
......
......@@ -32,7 +32,6 @@ async function release() {
const componentName = item.name.split('/')[1];
locMap[componentName] = `${location[location.length - 2]}/${location[location.length - 1]}`;
});
console.log(locMap);
// Check git status
if (!args.skipGitStatusCheck) {
const gitStatus = execa.sync('git', ['status', '--porcelain']).stdout;
......@@ -130,9 +129,7 @@ async function release() {
// eslint-disable-next-line consistent-return
pkgs.forEach((pkg, index) => {
console.log(pkg);
const pkgMap = locMap[pkg];
console.log('pkgMap', pkgMap);
const [p, shortName] = pkgMap.split('/');
const pkgPath = join(cwd, 'packages', p, shortName.replace('pro-', ''));
// eslint-disable-next-line global-require,import/no-dynamic-require
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment