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
44d49427
Commit
44d49427
authored
Oct 26, 2020
by
叶飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:list
parent
b0bf11f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
release.js
scripts/release.js
+7
-1
No files found.
scripts/release.js
View file @
44d49427
...
...
@@ -3,6 +3,7 @@ const { join } = require('path');
const
exec
=
require
(
'./utils/exec'
);
const
getPackages
=
require
(
'./utils/getPackages'
);
const
isNextVersion
=
require
(
'./utils/isNextVersion'
);
const
{
error
}
=
require
(
'console'
);
const
{
yParser
,
execa
,
chalk
}
=
utils
;
const
cwd
=
process
.
cwd
();
...
...
@@ -72,7 +73,12 @@ async function release() {
// Build
if
(
!
args
.
skipBuild
)
{
logStep
(
'build'
);
await
exec
(
'npm'
,
[
'run'
,
'build'
]);
try
{
await
exec
(
'npm'
,
[
'run'
,
'build'
]);
}
catch
(
error
=>
{
console
.
log
(
error
)
})
}
else
{
logStep
(
'build is skipped, since args.skipBuild is supplied'
);
}
...
...
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