{
  "branches": [
    "main",
    { "name": "1.x", "range": "1.x.x", "channel": "1.x" },
    { "name": "2.x", "range": "2.x.x", "channel": "2.x" }
  ],
  "tagFormat": "sdk-rust-v${version}",
  "plugins": [
    "@semantic-release/commit-analyzer",
    "@semantic-release/release-notes-generator",
    ["@semantic-release/changelog", { "changelogFile": "CHANGELOG.md" }],
    ["@semantic-release/exec", {
      "prepareCmd": "sed -i 's/^version = \"[^\"]*\"/version = \"${nextRelease.version}\"/' Cargo.toml"
    }],
    ["@semantic-release/github", { "successComment": false, "failComment": false }]
  ]
}
