2022-04-18 04:37:28 +00:00
|
|
|
module.exports = {
|
|
|
|
branches: ["main", "master"],
|
|
|
|
|
|
|
|
extends: ["@commitlint/config-conventional"],
|
|
|
|
message:
|
2022-07-13 22:54:36 +00:00
|
|
|
"chore(release): v${nextRelease.version} [CI SKIP]\n\n${nextRelease.notes}",
|
2022-04-18 04:37:28 +00:00
|
|
|
|
|
|
|
plugins: [
|
|
|
|
[
|
|
|
|
"@semantic-release/commit-analyzer",
|
|
|
|
{
|
|
|
|
preset: "conventionalcommits",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
"@semantic-release/release-notes-generator",
|
|
|
|
"@semantic-release/npm",
|
|
|
|
[
|
|
|
|
"@semantic-release/exec",
|
|
|
|
{
|
|
|
|
prepareCmd: "npm run build",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
"@semantic-release/changelog",
|
|
|
|
"@semantic-release/git",
|
2022-04-20 05:01:44 +00:00
|
|
|
//[
|
|
|
|
// "@semantic-release/gitlab",
|
|
|
|
// {
|
|
|
|
// assets: [
|
|
|
|
// { path: "*.epub", label: "EPUB2", type: "other" },
|
|
|
|
// { path: "*.pdf", label: "PDF", type: "other" },
|
|
|
|
// ],
|
|
|
|
// },
|
|
|
|
//],
|
2022-04-18 04:37:28 +00:00
|
|
|
],
|
|
|
|
};
|