Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
206 changes: 190 additions & 16 deletions .releaserc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ module.exports = {
{ type: "chore", section: "Maintenance" },
{ type: "docs", section: "Maintenance" },
{ type: "revert", section: "Fixes" },
{ type: "style", hidden: true },
{ type: "refactor", hidden: true },
{ type: "perf", hidden: true },
{ type: "test", hidden: true },
{ type: "style", section: "Miscellaneous" },
{ type: "refactor", section: "Miscellaneous" },
{ type: "perf", section: "Miscellaneous" },
{ type: "test", section: "Miscellaneous" },
],
},
releaseRules: [
Expand All @@ -72,20 +72,194 @@ module.exports = {
"@semantic-release/release-notes-generator",
{
preset: "conventionalcommits",
parserOpts: {
noteKeywords: ["BREAKING CHANGE", "BREAKING CHANGES"],
},
presetConfig: {
types: [
{ type: "feat", section: "Features" },
{ type: "fix", section: "Fixes" },
{ type: "chore", section: "Maintenance" },
{ type: "docs", section: "Maintenance" },
{ type: "revert", section: "Fixes" },
{ type: "style", hidden: true },
{ type: "refactor", hidden: true },
{ type: "perf", hidden: true },
{ type: "test", hidden: true },
{
type: "feat",
scope: "dafny",
section: "Features -- All Languages",
hidden: false,
},
{
type: "feat",
scope: "java",
section: "Features -- Java",
hidden: false,
},
{
type: "feat",
scope: "dotnet",
section: "Features -- DotNet",
hidden: false,
},
{
type: "feat",
scope: "python",
section: "Features -- Python",
hidden: false,
},
{
type: "feat",
scope: "go",
section: "Features -- Go",
hidden: false,
},
{
type: "feat",
scope: "rust",
section: "Features -- Rust",
hidden: false,
},

{
type: "fix",
scope: "dafny",
section: "Fixes -- All Languages",
hidden: false,
},
{
type: "fix",
scope: "java",
section: "Fixes -- Java",
hidden: false,
},
{
type: "fix",
scope: "dotnet",
section: "Fixes -- DotNet",
hidden: false,
},
{
type: "fix",
scope: "python",
section: "Fixes -- Python",
hidden: false,
},
{ type: "fix", scope: "go", section: "Fixes -- Go", hidden: false },
{
type: "fix",
scope: "rust",
section: "Fixes -- Rust",
hidden: false,
},

{
type: "chore",
scope: "dafny",
section: "Maintenance -- All Languages",
hidden: false,
},
{
type: "chore",
scope: "java",
section: "Maintenance -- Java",
hidden: false,
},
{
type: "chore",
scope: "dotnet",
section: "Maintenance -- DotNet",
hidden: false,
},
{
type: "chore",
scope: "python",
section: "Maintenance -- Python",
hidden: false,
},
{
type: "chore",
scope: "go",
section: "Maintenance -- Go",
hidden: false,
},
{
type: "chore",
scope: "rust",
section: "Maintenance -- Rust",
hidden: false,
},
{
type: "chore",
section: "Miscellaneous",
hidden: false,
},
{
type: "docs",
scope: "dafny",
section: "Maintenance -- All Languages",
hidden: false,
},
{
type: "docs",
scope: "java",
section: "Maintenance -- Java",
hidden: false,
},
{
type: "docs",
scope: "dotnet",
section: "Maintenance -- DotNet",
hidden: false,
},
{
type: "docs",
scope: "python",
section: "Maintenance -- Python",
hidden: false,
},
{
type: "docs",
scope: "go",
section: "Maintenance -- Go",
hidden: false,
},
{
type: "docs",
scope: "rust",
section: "Maintenance -- Rust",
hidden: false,
},
{
type: "revert",
scope: "dafny",
section: "Fixes -- All Languages",
hidden: false,
},
{
type: "revert",
scope: "java",
section: "Fixes -- Java",
hidden: false,
},
{
type: "revert",
scope: "dotnet",
section: "Fixes -- DotNet",
hidden: false,
},
{
type: "revert",
scope: "python",
section: "Fixes -- Python",
hidden: false,
},
{
type: "revert",
scope: "go",
section: "Fixes -- Go",
hidden: false,
},
{
type: "revert",
scope: "rust",
section: "Fixes -- Rust",
hidden: false,
},
{ type: "style", section: "Miscellaneous", hidden: false },
{ type: "refactor", section: "Miscellaneous", hidden: false },
{ type: "perf", section: "Miscellaneous", hidden: false },
{ type: "test", section: "Miscellaneous", hidden: false },
],
},
},
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ generate_properties_file:
";

setup_semantic_release:
npm i --no-save semantic-release @semantic-release/changelog semantic-release-replace-plugin conventional-changelog-conventionalcommits @semantic-release/git
npm i --no-save semantic-release @semantic-release/changelog semantic-release-replace-plugin conventional-changelog-conventionalcommits @semantic-release/git @semantic-release/exec

run_semantic_release:
npx semantic-release --no-ci
Expand Down
Loading