|
| 1 | +{ |
| 2 | + "branches": [ |
| 3 | + "main" |
| 4 | + ], |
| 5 | + "repositoryUrl": "https://github.com/finos/architecture-as-code", |
| 6 | + "tagFormat": "cli-v${version}", |
| 7 | + "plugins": [ |
| 8 | + [ |
| 9 | + "@semantic-release/commit-analyzer", |
| 10 | + { |
| 11 | + "preset": "conventionalcommits", |
| 12 | + "releaseRules": [ |
| 13 | + { "type": "feat", "scope": "cli", "release": "minor" }, |
| 14 | + { "type": "fix", "scope": "cli", "release": "patch" }, |
| 15 | + { "type": "perf", "scope": "cli", "release": "patch" }, |
| 16 | + { "type": "revert", "scope": "cli", "release": "patch" }, |
| 17 | + { "type": "docs", "scope": "cli", "release": "patch" }, |
| 18 | + { "type": "chore", "scope": "cli", "release": false }, |
| 19 | + { "type": "refactor", "scope": "cli", "release": "patch" }, |
| 20 | + { "type": "test", "scope": "cli", "release": false }, |
| 21 | + { "type": "style", "scope": "cli", "release": false }, |
| 22 | + { "type": "ci", "scope": "cli", "release": false }, |
| 23 | + { "scope": "!cli", "release": false } |
| 24 | + ] |
| 25 | + } |
| 26 | + ], |
| 27 | + [ |
| 28 | + "@semantic-release/release-notes-generator", |
| 29 | + { |
| 30 | + "preset": "conventionalcommits", |
| 31 | + "presetConfig": { |
| 32 | + "types": [ |
| 33 | + { "type": "feat", "section": "🚀 Features" }, |
| 34 | + { "type": "fix", "section": "🐛 Bug Fixes" }, |
| 35 | + { "type": "perf", "section": "⚡ Performance Improvements" }, |
| 36 | + { "type": "revert", "section": "⏪ Reverts" }, |
| 37 | + { "type": "docs", "section": "📚 Documentation" }, |
| 38 | + { "type": "refactor", "section": "♻️ Code Refactoring" }, |
| 39 | + { "type": "test", "section": "✅ Tests", "hidden": true }, |
| 40 | + { "type": "style", "section": "🎨 Styles", "hidden": true }, |
| 41 | + { "type": "chore", "section": "🔧 Chores", "hidden": true }, |
| 42 | + { "type": "ci", "section": "🤖 CI/CD", "hidden": true } |
| 43 | + ] |
| 44 | + } |
| 45 | + } |
| 46 | + ], |
| 47 | + [ |
| 48 | + "@semantic-release/changelog", |
| 49 | + { |
| 50 | + "changelogFile": "CHANGELOG.md", |
| 51 | + "changelogTitle": "# Changelog\n\nAll notable changes to the CALM CLI will be documented in this file.\n\nThe format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),\nand this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)." |
| 52 | + } |
| 53 | + ], |
| 54 | + "@semantic-release/npm", |
| 55 | + [ |
| 56 | + "@semantic-release/git", |
| 57 | + { |
| 58 | + "assets": [ |
| 59 | + "package.json", |
| 60 | + "CHANGELOG.md" |
| 61 | + ], |
| 62 | + "message": "chore(cli): release ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" |
| 63 | + } |
| 64 | + ], |
| 65 | + [ |
| 66 | + "@semantic-release/github", |
| 67 | + { |
| 68 | + "assets": [ |
| 69 | + { |
| 70 | + "path": "dist/**/*", |
| 71 | + "label": "CLI Distribution" |
| 72 | + } |
| 73 | + ] |
| 74 | + } |
| 75 | + ] |
| 76 | + ] |
| 77 | +} |
0 commit comments