Skip to content

Commit 27a6d27

Browse files
Merge pull request #70 from easyscience/patch
Removes custom documentation version logic
2 parents ced1613 + 31992cb commit 27a6d27

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

.github/release-drafter.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff 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-
5239
template: |
5340
$CHANGES

0 commit comments

Comments
 (0)