Skip to content

Commit

Permalink
Merge pull request #81 from tj-actions/chore/update-readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 authored Jan 3, 2023
2 parents da99da8 + 7352946 commit ac552a9
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,32 @@ jobs:

## Inputs

<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->

| INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION |
|----------------------|--------|----------|-------------------------|-------------------------------------------------------------------|
| initial\_release\_type | string | true | `"patch"` | Initial release type returned when there<br>are no existing tags. |
| token | string | true | `"${{ github.token }}"` | GITHUB\_TOKEN or a Repo scoped PAT |

<!-- AUTO-DOC-INPUT:END -->

| Input | type | required | default | description |
|:-------------:|:-----------:|:-------------:|:----------------------------:|:-------------:|
| token | `string` | `true` | `${{ github.token }}` | [GITHUB\_TOKEN](https://docs.github.com/en/free-pro-team@latest/actions/reference/authentication-in-a-workflow#using-the-github_token-in-a-workflow) <br /> or a repo scoped <br /> [Personal Access Token](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token) |
| initial\_release\_type | `string` | `true` | `patch` | Initial release type returned <br /> when there are no existing tags. |

## Outputs

<!-- AUTO-DOC-OUTPUT:START - Do not remove or modify this section -->

| OUTPUT | TYPE | DESCRIPTION |
|--------------|--------|---------------------------------------------------------------------------------------------------------|
| new\_version | string | The current project version |
| old\_version | string | The previous project version |
| release\_type | string | The difference between two versions by<br> the release type (major, minor, patch,<br>prerelease, build) |

<!-- AUTO-DOC-OUTPUT:END -->

| Output | type | description |
|:-------------:|:-----------:|:-------------:|
| release\_type | `string` | The difference between two versions by release type <br /> (major, minor, patch, prerelease, build) |
Expand Down

0 comments on commit ac552a9

Please sign in to comment.