File tree Expand file tree Collapse file tree 5 files changed +7
-23
lines changed Expand file tree Collapse file tree 5 files changed +7
-23
lines changed Original file line number Diff line number Diff line change @@ -44,9 +44,7 @@ if [ "$TRAVIS_TAG" ]; then
44
44
45
45
SUB_FOLDER=' 1.4'
46
46
mkdir $SUB_FOLDER
47
- rm -rf * .js * .css * .map static
48
47
rm -rf $SUB_FOLDER /**
49
- cp -rf ../../examples/element-ui/** .
50
48
cp -rf ../../examples/element-ui/** $SUB_FOLDER /
51
49
git add -A .
52
50
git commit -m " $TRAVIS_COMMIT_MSG "
Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ git clone -b gh-pages https://github.com/ElemeFE/element.git && cd element
8
8
SUB_FOLDER=' 1.4'
9
9
mkdir $SUB_FOLDER
10
10
11
- rm -rf * .js * .css * .map static
11
+ # rm -rf *.js *.css *.map static
12
12
rm -rf $SUB_FOLDER /**
13
- cp -rf ../../examples/element-ui/** .
13
+ # cp -rf ../../examples/element-ui/** .
14
14
cp -rf ../../examples/element-ui/** $SUB_FOLDER /
15
15
cd ../..
16
16
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env sh
2
- git checkout dev
2
+ git checkout 1.x
3
3
4
4
if test -n " $( git status --porcelain) " ; then
5
5
echo ' Unclean working tree. Commit or stash changes first.' >&2 ;
Original file line number Diff line number Diff line change 1
- git checkout master
2
- git merge dev
3
-
4
1
#! /usr/bin/env sh
5
2
set -e
6
3
echo " Enter release version: "
19
16
echo " Releasing theme-default $VERSION ..."
20
17
cd packages/theme-default
21
18
npm version $VERSION --message " [release] $VERSION "
22
- if [[ $VERSION =~ " beta" ]]
23
- then
24
- npm publish --tag beta
25
- else
26
- npm publish
19
+ npm publish
27
20
fi
28
21
cd ../..
29
22
33
26
npm version $VERSION --message " [release] $VERSION "
34
27
35
28
# publish
36
- git push eleme master
29
+ git push eleme 1.x
37
30
git push eleme refs/tags/v$VERSION
38
- git checkout dev
39
- git rebase master
40
- git push eleme dev
41
31
42
- if [[ $VERSION =~ " beta" ]]
43
- then
44
- npm publish --tag beta
45
- else
46
- npm publish
47
- fi
32
+ npm publish --tag legacy
48
33
fi
Original file line number Diff line number Diff line change 147
147
},
148
148
methods: {
149
149
validate (trigger , callback = noop ) {
150
+ this .validateDisabled = false ;
150
151
var rules = this .getFilteredRule (trigger);
151
152
if ((! rules || rules .length === 0 ) && ! this ._props .hasOwnProperty (' required' )) {
152
153
callback ();
You can’t perform that action at this time.
0 commit comments