Files
adobe__skills/release.config.cjs
T
Lars Trieloff 381470dfa9 fix: replace semantic-release-monorepo with custom tagFormat config
Agent-Id: agent-289230d2-5d6e-493b-9659-6ef3efdead52
Signed-off-by: Lars Trieloff <lars@trieloff.net>
2026-04-10 17:57:10 +02:00

37 lines
1.1 KiB
JavaScript

const path = require("path");
const pkg = require(path.resolve("package.json"));
const name = pkg.name;
module.exports = {
branches: ["main"],
tagFormat: name + "-v${version}",
plugins: [
["@semantic-release/commit-analyzer", {
releaseRules: [
{ type: "docs", release: "patch" },
{ type: "refactor", release: "patch" },
{ type: "style", release: "patch" },
{ type: "perf", release: "patch" }
]
}],
"@semantic-release/release-notes-generator",
["@semantic-release/changelog", {
changelogFile: "CHANGELOG.md"
}],
["@semantic-release/exec", {
prepareCmd: 'bash "$(git rev-parse --show-toplevel)/scripts/prepare-release.sh" "$PWD" "${nextRelease.version}"'
}],
["@semantic-release/github", {
assets: [{ path: "*.skill", label: "Skill package" }]
}],
["@semantic-release/exec", {
publishCmd: "if [ -f tile.json ]; then tessl skill publish . --workspace adobe; fi"
}],
["@semantic-release/git", {
assets: ["CHANGELOG.md", "SKILL.md"],
message: "chore(release): " + name + "-v${nextRelease.version} [skip ci]"
}]
]
};