{ "branches": [ "main", { "name": "beta", "prerelease": true } ], "plugins": [ [ "@semantic-release/commit-analyzer", { "preset": "conventionalcommits", "releaseRules": [ { "type": "feat", "release": "minor" }, { "type": "fix", "release": "patch" }, { "type": "perf", "release": "patch" }, { "type": "revert", "release": "patch" }, { "type": "docs", "release": "patch" }, { "type": "style", "release": false }, { "type": "refactor", "release": "patch" }, { "type": "test", "release": false }, { "type": "build", "release": false }, { "type": "ci", "release": false }, { "type": "chore", "release": false }, { "breaking": true, "release": "major" } ], "parserOpts": { "noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"] } } ], [ "@semantic-release/release-notes-generator", { "preset": "conventionalcommits", "presetConfig": { "types": [ { "type": "feat", "section": "✨ Features" }, { "type": "fix", "section": "🐛 Bug Fixes" }, { "type": "perf", "section": "⚡ Performance Improvements" }, { "type": "revert", "section": "⏪ Reverts" }, { "type": "docs", "section": "📚 Documentation" }, { "type": "refactor", "section": "♻️ Code Refactoring" } ] } } ], [ "@semantic-release/changelog", { "changelogFile": "CHANGELOG.md" } ], [ "@semantic-release/npm", { "npmPublish": false } ], [ "@semantic-release/github", { "assets": [ { "path": "android/app/build/outputs/bundle/release/*.aab", "label": "Android App Bundle" }, { "path": "android/app/build/outputs/apk/release/*.apk", "label": "Android APK" }, { "path": "ios/App/build/App.ipa", "label": "iOS IPA" } ] } ], [ "@semantic-release/exec", { "prepareCmd": "npm run version:sync && node scripts/semantic-release-linear-plugin.cjs prepare ${nextRelease.version}", "successCmd": "npm run version:post-release && node scripts/semantic-release-linear-plugin.cjs success ${nextRelease.version}" } ], [ "@semantic-release/git", { "assets": [ "CHANGELOG.md", "package.json", "package-lock.json", "android/app/build.gradle", "ios/App/App/Info.plist", "releases/" ], "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" } ] ] }