Skip to content

Commit 30c37aa

Browse files
bors[bot]bidoubiwa
andauthored
Merge #370
370: Add automatic minor increase on feature r=bidoubiwa a=bidoubiwa When a new feature is added to a project that already has a fist major version, the update of the semver goes the following way: > MAJOR version when you make incompatible API changes, MINOR version when you add functionality in a backwards compatible manner, and PATCH version when you make backwards compatible bug fixes. This does not apply on packages with no major version. To avoid having to manually update the minor version on new features, this PR adds the automation of the minor increase when using the `new-feature` label. ## Naming of the label ### feature 👍 The name `feature` is based on the following common practices: [GitHub Labels that are logical, colorful and sensible](https://docs.saltproject.io/en/latest/topics/development/labels.html#labels) [GitLab suggested labels](https://docs.gitlab.com/ee/user/project/labels.html) > Categorize epics, issues, and merge requests using colors and descriptive titles like bug, feature request, or docs. Take into account that these are two suggested naming. A lot of other articles exists with different suggestion and the first article also invites to use `type:` in front of the label. ### new-feature 🎉 Another possibility would be to use `new-feature` as it is more explicit linked to a PR and not an issue. I suggest `new-feature` instead of `new feature` for consistency with `breaking-changes` and `skip-changelog` If you prefer `feature` 👍 If you prefer `new-feature` 🎉 ⚠️ Wait for [this pr](meilisearch/integration-guides#129) before merging Co-authored-by: Charlotte Vermandel <[email protected]> Co-authored-by: cvermand <[email protected]>
2 parents cf18b05 + d5ed734 commit 30c37aa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/release-draft-template.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,15 @@ version-resolver:
66
major:
77
labels:
88
- 'breaking-change'
9+
minor:
10+
labels:
11+
- 'new-feature'
912
default: patch
1013
categories:
1114
- title: 'Breaking changes ⚠️'
1215
label: 'breaking-change'
16+
- title: 'New features ⚡️'
17+
label: 'new-feature'
1318
template: |
1419
## Changes
1520

0 commit comments

Comments
 (0)