File tree Expand file tree Collapse file tree 3 files changed +28
-5
lines changed Expand file tree Collapse file tree 3 files changed +28
-5
lines changed Original file line number Diff line number Diff line change 39
39
- attach_workspace :
40
40
at : ~/repo
41
41
- checkout
42
- - run :
43
- name : Running deploy
44
- command : echo "deploy"
42
+ - run : npm run semantic-release
45
43
46
44
workflows :
47
45
version : 2
Original file line number Diff line number Diff line change
1
+ {
2
+ "branch" : " master" ,
3
+ "prepare" : [
4
+ " @semantic-release/changelog" ,
5
+ " @semantic-release/npm" ,
6
+ {
7
+ "path" : " @semantic-release/git" ,
8
+ "assets" : [
9
+ " package.json" ,
10
+ " CHANGELOG.md"
11
+ ],
12
+ "message" : " chore(release): ${nextRelease.version} [skip ci]\n\n ${nextRelease.notes}"
13
+ }
14
+ ],
15
+ "plugins" : [
16
+ " @semantic-release/commit-analyzer" ,
17
+ " @semantic-release/release-notes-generator" ,
18
+ " @semantic-release/npm" ,
19
+ " @semantic-release/github"
20
+ ]
21
+ }
Original file line number Diff line number Diff line change 9
9
"lint-fix" : " npm run lint -- --fix" ,
10
10
"lint-diff" : " LIST=`git diff-index --name-only HEAD | grep '.*\\ .js$';`; if [ \" $LIST\" ]; then eslint $LIST; fi" ,
11
11
"precommit-msg" : " echo 'Running pre-commit checks... (skip using --no-verify)' && exit 0" ,
12
+ "semantic-release" : " semantic-release" ,
12
13
"test" : " npm run lint"
13
14
},
14
15
"repository" : {
21
22
},
22
23
"homepage" : " https://github.com/5app/js-template#readme" ,
23
24
"devDependencies" : {
25
+ "@semantic-release/changelog" : " ^3.0.4" ,
26
+ "@semantic-release/git" : " ^7.0.12" ,
24
27
"eslint" : " ^6.0.0" ,
25
- "eslint-config-5app" : " ^0.6.3" ,
26
- "husky" : " ^2.4.0"
28
+ "eslint-config-5app" : " ^0.6.5" ,
29
+ "husky" : " ^2.7.0" ,
30
+ "semantic-release" : " ^15.13.16"
27
31
},
28
32
"husky" : {
29
33
"hooks" : {
You can’t perform that action at this time.
0 commit comments