An open API service indexing awesome lists of open source software.

https://github.com/jacobsvante/extract-release-commit-action


https://github.com/jacobsvante/extract-release-commit-action

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

## Description

Used to extract the release version from a release-please formatted commit.

Example of a [release-please](https://github.com/googleapis/release-please) release commit message: `chore(main): release 0.7.12`

## Inputs

| parameter | description | required | default |
| -------------- | ------------------------------------------------------------------------------------------------------------------ | -------- | ------- |
| commit-message | Used to manually provide a comnmit message, in case `github.event.head_commit.message` is not what should be read. | `false` | |

## Outputs

| parameter | description |
| --------- | ----------------------------------------------------------------------------------------------------- |
| version | The extracted version. An empty string `""` if it could not be extracted (i.e. not a release commit.) |

## Runs

This action is a `composite` action.