Skip to content

Commit

Permalink
Add validate field to prdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Morganamilo committed May 3, 2024
1 parent a9aeabe commit 27787f0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions prdoc/schema_user.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@
"bump": {
"$ref": "#/$defs/semver_bump"
},
"validate": {
"$ref": "#/$defs/semver_validate"
},
"note": {
"type": "string"
}
Expand Down Expand Up @@ -183,6 +186,11 @@
"description"
]
},
"semver_validate": {
"type": "boolean",
"description": "Whether or not to validate the specified semver bump.",
"default": true
},
"semver_bump": {
"description": "The type of bump to apply to the crate version according to Cargo SemVer: https://doc.rust-lang.org/cargo/reference/semver.html. Please check docs/RELEASE.md for more information.",
"oneOf": [
Expand Down

0 comments on commit 27787f0

Please sign in to comment.