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:
33
33
labels :
34
34
- ' [scope] bug'
35
35
- ' [scope] maintenance'
36
+ - ' [scope] documentation'
36
37
default : patch
37
38
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
-
52
39
template : |
53
40
$CHANGES
You can’t perform that action at this time.
0 commit comments