Skip to content

Commit debae4f

Browse files
committed
chore: add semantic-release
1 parent 905670d commit debae4f

File tree

3 files changed

+228
-5
lines changed

3 files changed

+228
-5
lines changed

.ToDo

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ https://github.com/mpgp/mpgp.github.io/projects/1
4242
https://github.com/mpgp/mpgp.github.io/blob/develop/1.png?raw=true
4343

4444
Archive:
45-
✔ feat(precomit): install package https://github.com/okonet/lint-staged @created(18-06-12 21:35:58) @project(mpgp.github.io.In Progress) @done(18-06-12 21:44:54)
45+
✔ chore: add package https://github.com/okonet/lint-staged @created(18-06-12 21:35:58) @project(mpgp.github.io.In Progress) @done(18-06-12 21:44:54)
46+
✔ chore: add package https://github.com/marionebl/commitlint @created(18-06-16 08:56:25) @done(18-06-16 09:01:12)
47+
✔ chore add package https://github.com/semantic-release/semantic-release @created(18-06-16 08:57:06) @done(18-06-16 09:02:30)
4648

4749
Info:
4850
https://conventionalcommits.org

package.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,24 @@
5858
"git add"
5959
]
6060
},
61+
"release": {
62+
"npmPublish": false,
63+
"verifyConditions": [
64+
"@semantic-release/changelog",
65+
"@semantic-release/git",
66+
"@semantic-release/github"
67+
],
68+
"prepare": [
69+
"@semantic-release/changelog",
70+
"@semantic-release/git"
71+
],
72+
"success": [
73+
"@semantic-release/github"
74+
],
75+
"fail": [
76+
"@semantic-release/github"
77+
]
78+
},
6179
"scripts": {
6280
"build": "npm run clean && ng build --prod",
6381
"clean": "rm -rf ./dist",
@@ -96,6 +114,9 @@
96114
"@commitlint/cli": "^7.0.0",
97115
"@commitlint/config-conventional": "^7.0.1",
98116
"@commitlint/config-lerna-scopes": "^7.0.0",
117+
"@semantic-release/changelog": "^2.0.2",
118+
"@semantic-release/git": "^5.0.0",
119+
"@semantic-release/github": "^4.2.17",
99120
"@types/jasmine": "2.8.8",
100121
"@types/jasminewd2": "2.0.3",
101122
"@types/node": "10.1.4",

0 commit comments

Comments
 (0)