Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wisdom-components
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
wisdom-components
Commits
c541abbf
Commit
c541abbf
authored
May 10, 2021
by
邓晓峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: release publish bug
parent
1463eb93
Pipeline
#27325
failed with stages
in 15 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
index.js
packages/extend-components/EC_DeviceTree/src/index.js
+0
-3
release.js
scripts/release.js
+0
-3
No files found.
packages/extend-components/EC_DeviceTree/src/index.js
View file @
c541abbf
...
...
@@ -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
,
...
...
scripts/release.js
View file @
c541abbf
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment