Skip to content

Commit

Permalink
[prdoc] Require SemVer bump level (paritytech#3816)
Browse files Browse the repository at this point in the history
A prerequisite for adding a stable branch and respecting SemVer on new
stable releases is including SemVer bump levels in our PRDocs.

Next release is scheduled for April 3rd, so it would be great to get
this merged before then.

Also added "None" as a valid bump option, to support test/benchmark
changes and CI to ensure changed crates have an entry.
  • Loading branch information
liamaharon authored and dharjeezy committed Apr 9, 2024
1 parent 3569f0a commit 5b43ced
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion prdoc/schema_user.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@
}
},
"required": [
"name"
"name",
"bump"
]
},
"migration_db": {
Expand Down Expand Up @@ -187,6 +188,11 @@
"const": "patch",
"title": "Patch",
"description": "A bump to the third leftmost non-zero digit of the version number."
},
{
"const": "none",
"title": "None",
"description": "This change requires no SemVer bump (e.g. change was a test or benchmark)."
}
]
},
Expand Down

0 comments on commit 5b43ced

Please sign in to comment.