Skip to content

Commit

Permalink
fix: Add new output to README.md and action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nioe committed Oct 1, 2024
1 parent 318db42 commit 1b0f921
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ The minor part of the version extracted from the git tag (`"v1.2.3"` -> `"3"`)
If `is-release-commit` is `"false"`, the next semantic version based on the commits since the last release is returned.
Otherwise, the currently built version is returned.

### `current-commit-sha`

The short SHA of the current commit, i.e. `"d09e6f6"`

## Example usage

<!-- x-release-please-start-version -->
Expand Down
2 changes: 2 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ outputs:
description: 'The bugfix part of the version extracted from the git tag ("v1.2.3" -> "3")'
next-semantic-version:
description: 'If is-release-commit is false, the next semantic version based on the commits since the last release is returned. Otherwise, the currently built version is returned.'
current-commit-sha:
description: 'The short SHA of the current commit, i.e. "d09e6f6"'
runs:
using: 'node20'
main: 'dist/action.js'

0 comments on commit 1b0f921

Please sign in to comment.