Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
f0623653
Commit
f0623653
authored
Oct 29, 2020
by
iamkun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update version.js
parent
1044d930
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
build/bin/version.js
build/bin/version.js
+1
-1
No files found.
build/bin/version.js
View file @
f0623653
var
fs
=
require
(
'
fs
'
);
var
fs
=
require
(
'
fs
'
);
var
path
=
require
(
'
path
'
);
var
path
=
require
(
'
path
'
);
var
version
=
process
.
env
.
VERSION
||
require
(
'
../../package.json
'
).
version
;
var
version
=
process
.
env
.
VERSION
||
require
(
'
../../package.json
'
).
version
;
var
content
=
{
'
1.4.13
'
:
'
1.4
'
,
'
2.0.11
'
:
'
2.0
'
,
'
2.1.0
'
:
'
2.1
'
,
'
2.2.2
'
:
'
2.2
'
,
'
2.3.9
'
:
'
2.3
'
,
'
2.4.11
'
:
'
2.4
'
,
'
2.5.4
'
:
'
2.5
'
,
'
2.6.3
'
:
'
2.6
'
,
'
2.7.2
'
:
'
2.7
'
,
'
2.8.2
'
:
'
2.8
'
,
'
2.9.2
'
:
'
2.9
'
,
'
2.10.1
'
:
'
2.10
'
,
'
2.11.1
'
:
'
2.11
'
,
'
2.12.0
'
:
'
2.12
'
};
var
content
=
{
'
1.4.13
'
:
'
1.4
'
,
'
2.0.11
'
:
'
2.0
'
,
'
2.1.0
'
:
'
2.1
'
,
'
2.2.2
'
:
'
2.2
'
,
'
2.3.9
'
:
'
2.3
'
,
'
2.4.11
'
:
'
2.4
'
,
'
2.5.4
'
:
'
2.5
'
,
'
2.6.3
'
:
'
2.6
'
,
'
2.7.2
'
:
'
2.7
'
,
'
2.8.2
'
:
'
2.8
'
,
'
2.9.2
'
:
'
2.9
'
,
'
2.10.1
'
:
'
2.10
'
,
'
2.11.1
'
:
'
2.11
'
,
'
2.12.0
'
:
'
2.12
'
,
'
2.13.2
'
:
'
2.13
'
};
if
(
!
content
[
version
])
content
[
version
]
=
'
2.14
'
;
if
(
!
content
[
version
])
content
[
version
]
=
'
2.14
'
;
fs
.
writeFileSync
(
path
.
resolve
(
__dirname
,
'
../../examples/versions.json
'
),
JSON
.
stringify
(
content
));
fs
.
writeFileSync
(
path
.
resolve
(
__dirname
,
'
../../examples/versions.json
'
),
JSON
.
stringify
(
content
));
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