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
In order to enable this new feature, I've added a new input called `only` that allows running only the desired functionality (`'create-github-releases' | 'list-candidate-releases' | 'update-pull-requests'`). It is backwards compatible with the `skipGitHubRelease` and `skipGitHubPullRequest` inputs.
Copy file name to clipboardexpand all lines: README.md
+12-6
Original file line number
Diff line number
Diff line change
@@ -81,8 +81,7 @@ steps:
81
81
| `fork` | If `true`, send the PR from a fork. This requires the `token` to be a user that can create forks (e.g. not the default `GITHUB_TOKEN`) |
82
82
| `include-component-in-tag` | If true, add prefix to tags and branches, allowing multiple libraries to be released from the same repository |
83
83
| `proxy-server` | Configure a proxy servier in the form of `<host>:<port>` e.g. `proxy-host.com:8080` |
84
-
| `skip-github-release` | If `true`, do not attempt to create releases. This is useful if splitting release tagging from PR creation. |
85
-
| `skip-github-pull-request` | If `true`, do not attempt to create release pull requests. This is useful if splitting release tagging from PR creation. |
84
+
| `only` | If `create-github-releases`, only attempt to create releases. This is useful if splitting release tagging from PR creation. If `update-pull-requests` only attempt to create release pull requests. If `list-candidate-releases`, only output information about which packages would be released. |
86
85
87
86
## GitHub Credentials
88
87
@@ -167,6 +166,13 @@ New types of releases can be [added here](https://github.com/googleapis/release-
167
166
| `pr` | A JSON string of the [PullRequest object](https://github.com/googleapis/release-please/blob/main/src/pull-request.ts#L15) (unset if no release created) |
168
167
| `prs` | A JSON string of the array of [PullRequest objects](https://github.com/googleapis/release-please/blob/main/src/pull-request.ts#L15) (unset if no release created) |
169
168
169
+
> When used with `only: 'list-candidate-releases'`, the following properties are available.
| `github-release` | `skip-github-pull-request: true` | This command was used for only tagging releases. Now we tell release-please to skip opening release PRs. |
385
-
| `release-pr` | `skip-github-release: true` | This command was used for only opening release PRs. Now we tell release-please to skip tagging releases. |
386
-
| `manifest` | do not set `release-type` option | This command told release-please to use a manifest config file. This is now the default behavior unless you explicitly set a `release-type`. |
387
-
| `manifest-pr` | `skip-github-release: true` and do not set `release-type` option | This command told release-please to use a manifest config file and only open the pull reuqest. |
390
+
| `github-release` | `only: 'create-github-releases'` | This command was used for only tagging releases. Now we tell release-please to skip opening release PRs. |
391
+
| `release-pr` | `only: 'update-pull-requests'` | This command was used for only opening release PRs. Now we tell release-please to skip tagging releases. |
392
+
| `manifest` | do not set `release-type` option | This command told release-please to use a manifest config file. This is now the default behavior unless you explicitly set a `release-type`. |
393
+
| `manifest-pr` | `only: 'update-pull-requests'` and do not set `release-type` option | This command told release-please to use a manifest config file and only open the pull reuqest. |
0 commit comments