|
10 | 10 |
|
11 | 11 |
|
12 | 12 | class GenerateBumpType(str, Enum):
|
13 |
| - r"""Bump type of the lock file (calculated semver delta, or a custom change (manual release))""" |
| 13 | + r"""Bump type of the lock file (calculated semver delta, custom change (manual release), or prerelease/graduate)""" |
14 | 14 | MAJOR = "major"
|
15 | 15 | MINOR = "minor"
|
16 | 16 | PATCH = "patch"
|
17 | 17 | CUSTOM = "custom"
|
| 18 | + GRADUATE = "graduate" |
| 19 | + PRERELEASE = "prerelease" |
18 | 20 | NONE = "none"
|
19 | 21 |
|
20 | 22 |
|
@@ -54,7 +56,7 @@ class CliEventTypedDict(TypedDict):
|
54 | 56 | error: NotRequired[str]
|
55 | 57 | r"""Error message if the event was not successful."""
|
56 | 58 | generate_bump_type: NotRequired[GenerateBumpType]
|
57 |
| - r"""Bump type of the lock file (calculated semver delta, or a custom change (manual release))""" |
| 59 | + r"""Bump type of the lock file (calculated semver delta, custom change (manual release), or prerelease/graduate)""" |
58 | 60 | generate_config_post_checksum: NotRequired[str]
|
59 | 61 | r"""Checksum of the configuration file (post generation)"""
|
60 | 62 | generate_config_post_raw: NotRequired[str]
|
@@ -213,7 +215,7 @@ class CliEvent(BaseModel):
|
213 | 215 | error: Optional[str] = None
|
214 | 216 | r"""Error message if the event was not successful."""
|
215 | 217 | generate_bump_type: Optional[GenerateBumpType] = None
|
216 |
| - r"""Bump type of the lock file (calculated semver delta, or a custom change (manual release))""" |
| 218 | + r"""Bump type of the lock file (calculated semver delta, custom change (manual release), or prerelease/graduate)""" |
217 | 219 | generate_config_post_checksum: Optional[str] = None
|
218 | 220 | r"""Checksum of the configuration file (post generation)"""
|
219 | 221 | generate_config_post_raw: Optional[str] = None
|
|
0 commit comments