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
77312398
Commit
77312398
authored
Jan 26, 2019
by
Zhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[build] 2.5.1
parent
47c40505
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
build/release.sh
build/release.sh
+10
-10
examples/versions.json
examples/versions.json
+1
-1
src/index.js
src/index.js
+1
-1
No files found.
build/release.sh
View file @
77312398
...
@@ -16,16 +16,16 @@ then
...
@@ -16,16 +16,16 @@ then
VERSION
=
$VERSION
npm run dist
VERSION
=
$VERSION
npm run dist
# publish theme
# publish theme
echo
"Releasing theme-chalk
$VERSION
..."
#
echo "Releasing theme-chalk $VERSION ..."
cd
packages/theme-chalk
#
cd packages/theme-chalk
npm version
$VERSION
--message
"[release]
$VERSION
"
#
npm version $VERSION --message "[release] $VERSION"
if
[[
$VERSION
=
~
"beta"
]]
#
if [[ $VERSION =~ "beta" ]]
then
#
then
npm publish
--tag
beta
#
npm publish --tag beta
else
#
else
npm publish
#
npm publish
fi
#
fi
cd
../..
#
cd ../..
# commit
# commit
git add
-A
git add
-A
...
...
examples/versions.json
View file @
77312398
{
"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.5.0"
:
"2.4"
}
{
"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.1"
:
"2.5"
}
\ No newline at end of file
\ No newline at end of file
src/index.js
View file @
77312398
...
@@ -172,7 +172,7 @@ if (typeof window !== 'undefined' && window.Vue) {
...
@@ -172,7 +172,7 @@ if (typeof window !== 'undefined' && window.Vue) {
}
}
export
default
{
export
default
{
version
:
'
2.5.
0
'
,
version
:
'
2.5.
1
'
,
locale
:
locale
.
use
,
locale
:
locale
.
use
,
i18n
:
locale
.
i18n
,
i18n
:
locale
.
i18n
,
install
,
install
,
...
...
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