Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
static-ci
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
xuqi
9 years ago
Commit
5008801b5828b78b60228de542633148a7358870
1 parent
b17edd48
ci bug
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
apps/ci/build.js
apps/ci/build.js
View file @
5008801
...
...
@@ -47,8 +47,8 @@ class Build {
this
.
_prebuild
();
this
.
startTime
=
(
new
Date
()).
getTime
();
return
this
.
_cloneCode
(
this
.
branch
).
then
(()
=>
{
let
pkg
=
require
(
path
.
join
(
self
.
codePath
,
'package.json'
));
// set version
let
pkg
=
JSON
.
parse
(
fs
.
readFileSync
(
path
.
join
(
self
.
codePath
,
'package.json'
)));
self
.
version
=
pkg
.
version
;
self
.
pkgName
=
pkg
.
name
;
...
...
Please
register
or
login
to post a comment