2022-10-12 21:27:56 +00:00
|
|
|
module.exports = {
|
|
|
|
branches: ["main"],
|
|
|
|
|
|
|
|
extends: ["@commitlint/config-conventional"],
|
|
|
|
message:
|
|
|
|
"chore(release): v${nextRelease.version} [skip ci]\n\n${nextRelease.notes}",
|
|
|
|
|
|
|
|
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-10-13 01:54:43 +00:00
|
|
|
"@saithodev/semantic-release-gitea",
|
2022-10-12 21:27:56 +00:00
|
|
|
{
|
2022-10-13 01:47:28 +00:00
|
|
|
giteaUrl: "https://src.mfgames.com",
|
2022-10-12 21:27:56 +00:00
|
|
|
assets: [
|
|
|
|
{ path: "*.epub", label: "EPUB2", type: "other" },
|
|
|
|
{ path: "*.pdf", label: "PDF", type: "other" },
|
|
|
|
{ path: "*.docx", label: "DOCX", type: "other" },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
};
|