https://github.com/jacobsvante/extract-release-commit-action
https://github.com/jacobsvante/extract-release-commit-action
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/jacobsvante/extract-release-commit-action
- Owner: jacobsvante
- License: mit
- Created: 2022-08-30T09:37:45.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-29T16:12:29.000Z (about 2 years ago)
- Last Synced: 2025-02-09T00:43:30.299Z (over 1 year ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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.