35 lines
948 B
JavaScript
35 lines
948 B
JavaScript
module.exports = {
|
|
branches: ["main", "master"],
|
|
|
|
extends: ["@commitlint/config-conventional"],
|
|
message:
|
|
"chore(release): v${nextRelease.version} [CI SKIP]\n\n${nextRelease.notes}",
|
|
|
|
plugins: [
|
|
[
|
|
"@semantic-release/commit-analyzer",
|
|
{
|
|
preset: "conventionalcommits",
|
|
},
|
|
],
|
|
"@semantic-release/npm",
|
|
[
|
|
"@semantic-release/exec",
|
|
{
|
|
prepareCmd: "npm run build",
|
|
},
|
|
],
|
|
"@semantic-release/changelog",
|
|
"@semantic-release/git",
|
|
[
|
|
"@saithodev/semantic-release-gitea",
|
|
{
|
|
giteaUrl: "https://src.moonfire.us",
|
|
assets: [
|
|
{ path: "*.epub", label: "EPUB2", type: "other" },
|
|
{ path: "*.pdf", label: "PDF", type: "other" },
|
|
],
|
|
},
|
|
],
|
|
],
|
|
};
|