This repository has been archived by the owner on Jun 15, 2023. It is now read-only.
generated from Team-INSERT/Repository-generator-Frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.releaserc
100 lines (94 loc) · 3.32 KB
/
.releaserc
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
module.exports = {
branches: ["main"],
plugins: [
[
"@semantic-release/commit-analyzer",
{
preset: "conventionalcommits",
releaseRules: [
/**
* @inner
* NOTE: Commits with scope no-release will not be associated with a release type
* even if they have a breaking change or the type 'feat', 'fix' or 'perf'
*
* @see
* https://github.com/semantic-release/commit-analyzer#releaserules
*/
{ scope: "no-release", release: false },
{ scope: "breaking", release: "major" },
{ type: "docs", scope: "README", release: "patch" },
{ type: "feat", release: "minor" },
{ type: "fix", release: "patch" },
{ type: "refactor", scope: "core-*", release: "minor" },
{ type: "refactor", release: "patch" },
{ type: "style", release: "patch" },
{ type: "perf", release: "patch" },
{ type: "revert", release: "patch" },
{ type: "move", release: false },
{ type: "remove", release: false },
{ type: "chore", release: false },
{ type: "ci", release: false },
{ type: "test", release: false },
],
parserOpts: {
noteKeywords: ["BREAKING CHANGE", "BREAKING CHANGES"],
},
},
],
[
"@semantic-release/release-notes-generator",
{
preset: "conventionalcommits",
presetConfig: {
types: [
/**
* @inner
* 아래 변화들은 보이도록 한다.
* (presetConfig는 conventional-changelog 방식을 따른다.)
*
* @see
* https://github.com/semantic-release/release-notes-generator
* https://github.com/conventional-changelog/conventional-changelog-config-spec/blob/master/versions/2.0.0/README.md
*/
{ type: "feat", section: "✨ Features", hidden: false },
{ type: "fix", section: "🐛 Bug Fixes", hidden: false },
{ type: "perf", section: "🌈 Performance", hidden: false },
{ type: "refactor", section: "♻️ Refactor", hidden: false },
{ type: "docs", section: "📝 Docs", hidden: false },
{ type: "style", section: "💄 Styles", hidden: false },
{ type: "revert", section: "🕐 Reverts", hidden: false },
{ type: "ci", section: "💫 CI/CD", hidden: false },
/**
* @inner
* 아래 변화들은 보이지 않게 한다.
*/
{ type: "test", section: "✅ Tests", hidden: true },
{ type: "chore", section: "📦 Chores", hidden: true },
{ type: "move", section: "🚚 Move Files", hidden: true },
{ type: "remove", section: "🔥 Remove Files", hidden: true },
],
},
},
],
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
changelogFile: "docs/CHANGELOG.md",
},
],
[
"@semantic-release/changelog",
{
changelogFile: "CHANGELOG.md",
changelogTitle: "# 🚦 CHANGELOG | 변경 사항을 기록해요.",
},
],
[
"@semantic-release/git",
{
assets: ["CHANGELOG.md"],
},
],
],
};