You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cli.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,7 @@ Extra options:
54
54
|`--prerelease-type`|`string`| Configuration option for the prerelease versioning strategy. If prerelease strategy used and type set, will set the prerelease part of the version to the provided value in case prerelease part is not present. |
55
55
|`--draft`|`boolean`| If set, create releases as drafts |
56
56
|`--prerelease`|`boolean`| If set, create releases that are pre-major or pre-release version marked as pre-release on Github |
57
+
|`--force-tag-creation`|`boolean`| Force the creation of a Git tag for the release. Useful when `--draft` is enabled, because GitHub does not create a Git tag for draft releases until they are published. This causes release-please to fail to find the previous release, potentially generating incorrect changelogs. Setting this option ensures the tag is created immediately. |
57
58
|`--draft-pull-request`|`boolean`| If set, create pull requests as drafts |
58
59
|`--label`|`string`| Comma-separated list of labels to apply to the release pull requests. Defaults to `autorelease: pending`|
59
60
|`--release-label`|`string`| Comma-separated list of labels to apply to the pull request after the release has been tagged. Defaults to `autorelease: tagged`|
@@ -158,6 +159,7 @@ need to specify your release options:
158
159
|`--pull-request-footer`|`string`| Override the pull request footer. Defaults to `This PR was generated with Release Please. See documentation.`|
159
160
|`--draft`|`boolean`| If set, create releases as drafts |
160
161
|`--prerelease`|`boolean`| If set, create releases that are pre-major or pre-release version marked as pre-release on Github|
162
+
|`--force-tag-creation`|`boolean`| Force the creation of a Git tag for the release. Useful when `--draft` is enabled, because GitHub does not create a Git tag for draft releases until they are published. This causes release-please to fail to find the previous release, potentially generating incorrect changelogs. Setting this option ensures the tag is created immediately. |
161
163
|`--label`|`string`| Comma-separated list of labels to apply to the release pull requests. Defaults to `autorelease: pending`|
162
164
|`--release-label`|`string`| Comma-separated list of labels to apply to the pull request after the release has been tagged. Defaults to `autorelease: tagged`|
163
165
|`--include-v-in-tags`|`boolean`| Include "v" in tag versions. Defaults to `true`. |
Copy file name to clipboardExpand all lines: schemas/config.json
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,10 @@
66
66
"description": "Create the GitHub release in draft mode. Defaults to `false`.",
67
67
"type": "boolean"
68
68
},
69
+
"force-tag-creation": {
70
+
"description": "Force the creation of a Git tag for the release. This is particularly useful when `draft` is enabled, because GitHub does not create a Git tag for draft releases until they are published. This 'lazy tag creation' causes release-please to fail to find the previous release, potentially generating incorrect changelogs. Setting this to `true` ensures the tag is created immediately. Defaults to `false`.",
71
+
"type": "boolean"
72
+
},
69
73
"prerelease": {
70
74
"description": "Create the GitHub release as prerelease. Defaults to `false`.",
0 commit comments