File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -33,21 +33,8 @@ version-resolver:
3333 labels :
3434 - ' [scope] bug'
3535 - ' [scope] maintenance'
36+ - ' [scope] documentation'
3637 default : patch
3738
38- # Custom logic for documentation post-releases
39- # This is a workaround because Release Drafter doesn’t natively support .postN
40- # We'll append .postN via the version-template below
41- # - If any merged PR has the [scope] documentation label, the version becomes previous_version.postN.
42- # - Increment increases for each new .postN release.
43- # - If no docs label is found, normal SemVer bumping applies.
44- version-template : >
45- {% if prs | selectattr("labels", "contains", "[scope] documentation") | list |
46- length > 0 %}
47- {{ previous_tag | replace("v","") }}.post{{ increment }}
48- {% else %}
49- $RESOLVED_VERSION
50- {% endif %}
51-
5239template : |
5340 $CHANGES
You can’t perform that action at this time.
0 commit comments