{
  "name": "quil-rust-semantic-release",
  "version": "1.0.0",
  "description": "Encapsulate dependencies needed to use semantic-release",
  "dependencies": {
    "@semantic-release/exec": "^5.0.0",
    "@semantic-release/git": "^9.0.0",
    "@semantic-release/gitlab": "^6.0.4",
    "conventional-changelog-eslint": "^3.0.8",
    "semantic-release": "^17.1.1"
  },
  "release": {
    "branches": [
      "main",
      {
        "name": "rc",
        "prerelease": true
      }
    ],
    "plugins": [
      [
        "@semantic-release/commit-analyzer",
        {
          "preset": "eslint",
          "releaseRules": [
            {
              "tag": "Breaking",
              "release": "minor"
            },
            {
              "tag": "Update",
              "release": "patch"
            },
            {
              "tag": "Fix",
              "release": "patch"
            },
            {
              "tag": "New",
              "release": "patch"
            },
            {
              "tag": "Upgrade",
              "release": "patch"
            }
          ]
        }
      ],
      [
        "@semantic-release/release-notes-generator",
        {
          "preset": "eslint"
        }
      ],
      [
        "@semantic-release/exec",
        {
          "verifyConditionsCmd": "semantic-release-rust verify-conditions",
          "prepareCmd": "semantic-release-rust prepare ${nextRelease.version} && cargo update -w",
          "publishCmd": "semantic-release-rust publish"
        }
      ],
      "@semantic-release/github",
      [
        "@semantic-release/git",
        {
          "assets": [
            "Cargo.lock",
            "Cargo.toml"
          ],
          "message": "Release v${nextRelease.version} [skip ci]"
        }
      ]
    ],
    "repositoryUrl": "ssh://git@github.com/rigetti/quil-rust.git"
  }
}
