forked from CovOpen/CovApp-2.0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.releaserc.json
119 lines (119 loc) · 2.9 KB
/
.releaserc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"branches": ["master"],
"verifyConditions": ["@semantic-release/changelog", "@semantic-release/github"],
"verifyConfig": ["@semantic-release/github"],
"prepare": [
{
"path": "@semantic-release/exec",
"cmd": "node ./scripts/getChangelog.js ${lastRelease.version}"
},
{
"path": "@semantic-release/changelog",
"changelogFile": "src/assets/changelog.md"
},
{
"path": "@semantic-release/exec",
"cmd": "node ./scripts/version.js ${nextRelease.version} ${commits[0].commit.short} ${commits[0].commit.long}"
},
{
"path": "@semantic-release/exec",
"cmd": "npm run prepare-charite"
},
{
"path": "@semantic-release/exec",
"cmd": "npm run build-charite"
},
{
"path": "@semantic-release/exec",
"cmd": "cd www; zip -r ../release-charite.zip *"
},
{
"path": "@semantic-release/exec",
"cmd": "npm run prepare-bmg"
},
{
"path": "@semantic-release/exec",
"cmd": "npm run build"
},
{
"path": "@semantic-release/exec",
"cmd": "cd www; zip -r ../release-bmg.zip *"
},
{
"path": "@semantic-release/exec",
"cmd": "npm run prepare-bzga"
},
{
"path": "@semantic-release/exec",
"cmd": "npm run build"
},
{
"path": "@semantic-release/exec",
"cmd": "cd www; zip -r ../release-bzga.zip *"
},
{
"path": "@semantic-release/exec",
"cmd": "npm run prepare-rki"
},
{
"path": "@semantic-release/exec",
"cmd": "npm run build"
},
{
"path": "@semantic-release/exec",
"cmd": "cd www; zip -r ../release-rki.zip *"
}
],
"publish": [
{
"path": "@semantic-release/github",
"assets": [
{
"path": "src/assets/changelog.md",
"label": "Changelog"
},
{
"path": "release-charite.zip",
"label": "WebApp-charite-${nextRelease.gitTag}.zip"
},
{
"path": "release-bmg.zip",
"label": "WebApp-bmg-${nextRelease.gitTag}.zip"
},
{
"path": "release-bzga.zip",
"label": "WebApp-bzga-${nextRelease.gitTag}.zip"
},
{
"path": "release-rki.zip",
"label": "WebApp-rki-${nextRelease.gitTag}.zip"
}
]
},
{
"path": "@semantic-release/exec",
"cmd": "echo \"::set-output name=RELEASED::true\""
},
{
"path": "@semantic-release/exec",
"cmd": "echo \"::set-output name=VERSION::${nextRelease.version}\""
}
],
"fail": ["@semantic-release/github"],
"success": ["@semantic-release/github"],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [
{
"type": "trans",
"release": "patch"
}
]
}
],
"@semantic-release/release-notes-generator"
]
}