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
bf9690bb
Commit
bf9690bb
authored
Dec 06, 2016
by
baiyaaaaa
Committed by
GitHub
Dec 06, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1579 from QingWei-Li/fix/deploy-script
CI: fix and test deploy script
parents
2b3e48f8
1a5a6a6f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
build/deploy-ci.sh
build/deploy-ci.sh
+4
-1
No files found.
build/deploy-ci.sh
View file @
bf9690bb
...
@@ -38,8 +38,11 @@ if [ "$TRAVIS_TAG" ]; then
...
@@ -38,8 +38,11 @@ if [ "$TRAVIS_TAG" ]; then
cd
temp_web
cd
temp_web
git clone
-b
gh-pages https://
$ROT_TOKEN
@github.com/ElemeFE/element.git
&&
cd
element
git clone
-b
gh-pages https://
$ROT_TOKEN
@github.com/ElemeFE/element.git
&&
cd
element
# build sub folder
# build sub folder
export
SUB_FOLDER
=
$(
echo
$TRAVIS_TAG
|
grep
-o
-E
'\d+\.\d+'
)
echo
$TRAVIS_TAG
export
SUB_FOLDER
=
$(
echo
"
$TRAVIS_TAG
"
|
grep
-o
-E
"
\d
+
\.\d
+"
)
echo
$SUB_FOLDER
SUB_FOLDER
=
'1.0'
mkdir
$SUB_FOLDER
mkdir
$SUB_FOLDER
rm
-rf
*
.js
*
.css
*
.map static
rm
-rf
*
.js
*
.css
*
.map static
rm
-rf
$SUB_FOLDER
/
**
rm
-rf
$SUB_FOLDER
/
**
...
...
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