tooling: add 'feature' changelog msg type for make cl (#26709)

This commit is contained in:
Piotr Kazmierczak
2025-09-05 16:42:42 +02:00
committed by GitHub
parent 1916a16311
commit 8175f275c9

View File

@@ -25,6 +25,7 @@ const (
4. breaking-change
5. note
6. deprecation
7. feature (for major features)
Enter Kind => `
note = `Write a note, for example
@@ -96,8 +97,10 @@ func label(n int) (string, error) {
label = "note"
case 6:
label = "deprecation"
case 7:
label = "feature"
default:
return "", errors.New("not a valid type, must be 1-6")
return "", errors.New("not a valid type, must be 1-7")
}
return label, nil
}