File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -11,16 +11,16 @@ install:
11
11
12
12
stages :
13
13
- lint
14
- - name : gh-pages
14
+ - name : gh_pages
15
15
if : branch = master
16
- - name : release
16
+ - name : github_release
17
17
if : branch = master
18
18
19
19
jobs :
20
20
include :
21
21
- stage : lint
22
22
script : npm run lint
23
- - stage : gh-pages
23
+ - stage : gh_pages
24
24
script : npm run build
25
25
after_script :
26
26
- cd ./example-dist
@@ -32,14 +32,20 @@ jobs:
32
32
- git add .
33
33
- git commit -m "update example page"
34
34
- git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" gh-pages:gh-pages
35
- - stage : release
35
+ - stage : github_release
36
36
script : echo "Deploying to GitHub releases ..."
37
37
deploy :
38
38
provider : releases
39
39
api_key : ${GH_TOKEN}
40
40
skip_cleanup : true
41
41
on :
42
42
tags : true
43
+ # - stage: npm_release
44
+ # script: echo "Deploying to npm releases ..."
45
+ # deploy:
46
+ # provider: npm
47
+ # email: ""
48
+ # api_key: ""
43
49
44
50
# branches:
45
51
# only:
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vue-json-pretty" ,
3
- "version" : " 1.3.1 " ,
3
+ "version" : " 1.3.2 " ,
4
4
"description" : " A Vue.js 2.0 Toolkit for json" ,
5
5
"author" : " leezng <294795201@qq.com>" ,
6
6
"main" : " vue-json-pretty.js" ,
Original file line number Diff line number Diff line change 1
1
import VueJsonPretty from './components/tree.vue'
2
2
3
3
export default Object . assign ( { } , VueJsonPretty , {
4
- version : '1.3.1 '
4
+ version : '1.3.2 '
5
5
} )
You can’t perform that action at this time.
0 commit comments