Skip to content

Commit b4ad294

Browse files
authored
build: align the semantic release conventions with the other AlgoKit repos (#86)
2 parents 44a6238 + 18bc314 commit b4ad294

File tree

1 file changed

+34
-2
lines changed

1 file changed

+34
-2
lines changed

utils/semantic-release.cjs

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,42 @@ module.exports = {
3434
[
3535
"@semantic-release/commit-analyzer",
3636
{
37-
preset: "angular",
37+
preset: "conventionalcommits",
38+
releaseRules: [
39+
{
40+
type: "build",
41+
release: "patch",
42+
},
43+
{
44+
type: "chore",
45+
release: "patch",
46+
},
47+
],
48+
},
49+
],
50+
[
51+
"@semantic-release/release-notes-generator",
52+
{
53+
preset: "conventionalcommits",
54+
presetConfig: {
55+
types: [
56+
{
57+
type: "feat",
58+
section: "Features",
59+
},
60+
{
61+
type: "fix",
62+
section: "Bug Fixes",
63+
},
64+
{
65+
type: "build",
66+
section: "Dependencies and Other Build Updates",
67+
hidden: false,
68+
},
69+
],
70+
},
3871
},
3972
],
40-
"@semantic-release/release-notes-generator",
4173
[
4274
"@semantic-release/github",
4375
{

0 commit comments

Comments
 (0)