Skip to content

Commit

Permalink
Add validate field to prdoc (paritytech#4368)
Browse files Browse the repository at this point in the history
  • Loading branch information
Morganamilo authored and TarekkMA committed Aug 2, 2024
1 parent 913633e commit af2eed6
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 af2eed6

Please sign in to comment.