-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
release.config.js
34 lines (33 loc) · 1020 Bytes
/
release.config.js
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
process.env.SEMANTIC_RELEASE_PACKAGE = "Ts.ED CLI";
export default {
branches: [
"master",
{name: "alpha", prerelease: true, channel: "alpha"},
{name: "beta", prerelease: true, channel: "beta"},
{name: "rc", prerelease: true, channel: "rc"}
],
verifyConditions: [
"@semantic-release/github",
"@semantic-release/npm",
"@tsed/monorepo-utils/semantic-release",
"semantic-release-slack-bot"
],
analyzeCommits: ["@semantic-release/commit-analyzer"],
verifyRelease: [],
generateNotes: ["@semantic-release/release-notes-generator"],
prepare: ["@semantic-release/npm", "@tsed/monorepo-utils/semantic-release"],
publish: ["@tsed/monorepo-utils/semantic-release", "@semantic-release/github"],
success: [
"@semantic-release/github",
"@tsed/monorepo-utils/semantic-release",
[
"semantic-release-slack-bot",
{
markdownReleaseNotes: true,
notifyOnSuccess: true
}
]
],
fail: ["@semantic-release/github"],
npmPublish: false
};