forked from tsedio/tsed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
release.config.js
34 lines (33 loc) · 1022 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";
module.exports = {
branches: [
"production",
{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
};