Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcosrava/semver-release-type
Action to return release type between two semver versions
https://github.com/marcosrava/semver-release-type
Last synced: 6 days ago
JSON representation
Action to return release type between two semver versions
- Host: GitHub
- URL: https://github.com/marcosrava/semver-release-type
- Owner: MarcosRava
- License: mit
- Created: 2022-03-21T15:22:16.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-03T20:03:19.000Z (almost 2 years ago)
- Last Synced: 2024-12-20T05:45:57.481Z (22 days ago)
- Language: TypeScript
- Size: 422 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# semver-release-type
Action to return release type between two version (semver)
## Inputs
| input | required | description | default | type |
| ----------------- | -------- | ---------------------------------- | ----------- | ------ |
| `current_version` | `true` | The current version of the project | `undefined` | string |
| `next_version` | `true` | The next version of the project | `undefined` | string |## Outputs
| output | description | type |
| ----------------- | ------------------------------------ | ------ |
| `release_type` | The release type of the next version | string |
| `current_version` | The current version of the project | string |
| `next_version` | The next version of the project | string |## Example usage
```yml
- uses: MarcosRava/semver-release-type@v1
id: semver-release-type
with:
current_version: 'v0.0.1'
next_version: 'v0.0.2'- name: Print the release type
run: echo ${{ steps.semver-release-type.outputs.release_type }} # => 'patch'
```