Skip to content

Commit 1155c2c

Browse files
doc: add version in outputs document (#936)
<!-- Thank you for proposing a pull request! Please note that SOME TESTS WILL LIKELY FAIL due to how GitHub exposes secrets in Pull Requests from forks. Someone from the team will review your Pull Request and respond. Please describe your change and any implementation details below. --> `version` is included in the outputs, and it would be helpful to use instead of combine with major, minor, and patch. See also: https://github.com/google-github-actions/release-please-action/blob/cc61a07e2da466bebbc19b3a7dd01d6aecb20d1e/src/index.ts#L162-L193 https://github.com/googleapis/release-please/blob/72b0ab360c3d6635397e8b02f4d3f9f53932e23c/src/manifest.ts#L273-L280 Signed-off-by: Andy Zhang <37402126+AnzhiZhang@users.noreply.github.com> Co-authored-by: Jeff Ching <chingor@google.com>
1 parent 7f007f1 commit 1155c2c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ If you have a root component (path is `.` or unset), then the action will also o
183183
| `upload_url` | Directly related to [**Create a release**](https://developer.github.com/v3/repos/releases/#response-4) API |
184184
| `html_url` | Directly related to [**Create a release**](https://developer.github.com/v3/repos/releases/#response-4) API |
185185
| `tag_name` | Directly related to [**Create a release**](https://developer.github.com/v3/repos/releases/#response-4) API |
186+
| `version` | Number representing full semver value |
186187
| `major` | Number representing major semver value |
187188
| `minor` | Number representing minor semver value |
188189
| `patch` | Number representing patch semver value |
@@ -201,6 +202,7 @@ This prefix allows you to distinguish values for different releases.
201202
| `<path>--upload_url` | Directly related to [**Create a release**](https://developer.github.com/v3/repos/releases/#response-4) API |
202203
| `<path>--html_url` | Directly related to [**Create a release**](https://developer.github.com/v3/repos/releases/#response-4) API |
203204
| `<path>--tag_name` | Directly related to [**Create a release**](https://developer.github.com/v3/repos/releases/#response-4) API |
205+
| `<path>--version` | Number representing full semver value |
204206
| `<path>--major` | Number representing major semver value |
205207
| `<path>--minor` | Number representing minor semver value |
206208
| `<path>--patch` | Number representing patch semver value |

0 commit comments

Comments
 (0)