Skip to content

Commit

Permalink
Merge pull request #53 from wemogy/main
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
SebastianKuesters authored Mar 26, 2024
2 parents 7203478 + 4349e43 commit 2ea4c98
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,15 @@ for [Conventional Commits](https://www.conventionalcommits.org/) with support fo
## Inputs
| Input | Required | Default | Description |
|---------------------------|----------|----------|----------------------------------------------------------------------------------------------------------|
| `prefix` | `false` | `v` | The prefix that should be prepended to the version. |
| `suffix` | `false` | `` | The suffix that should appended to the version (e.g. `beta`). |
| `previous-version-suffix` | `false` | `` | The suffix that should be replaced with the value in `suffix` (e.g. `dev`). |
| `bumping-suffix` | `false` | `hotfix` | The suffix to append to the version (or increment if it already exists) if `only-bump-suffix` is `true`. |
| `only-bump-suffix` | `false` | `false` | Bump the `bumping-suffix` instead of the version if changes were detected. |
| `create-tag` | `false` | `true` | Create a git tag for the version and push it if a remote is configured. |
| Input | Required | Default | Description |
| ------------------------- | -------- | ---------- | -------------------------------------------------------------------------------------------------------- |
| `prefix` | `false` | `v` | The prefix that should be prepended to the version. |
| `suffix` | `false` | `` | The suffix that should appended to the version (e.g. `beta`). |
| `previous-version-suffix` | `false` | `` | The suffix that should be replaced with the value in `suffix` (e.g. `dev`). |
| `bumping-suffix` | `false` | `hotfix` | The suffix to append to the version (or increment if it already exists) if `only-bump-suffix` is `true`. |
| `only-bump-suffix` | `false` | `false` | Bump the `bumping-suffix` instead of the version if changes were detected. |
| `create-tag` | `false` | `true` | Create a git tag for the version and push it if a remote is configured. |
| `mode` | `false` | `semantic` | The mode to use for determining the next version. Possible values: `semantic`, `hash-based`. |

## Outputs

Expand Down
6 changes: 6 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ inputs:
description: "Create a Git Tag for the version and push it if a remote is configured."
required: false
default: "true"
mode:
description: "The mode to use for determining the next version. Possible values: `semantic`, `hash-based`."
required: false
default: "semantic"
outputs:
version:
description: "The next version, without the prefix"
Expand Down Expand Up @@ -53,3 +57,5 @@ runs:
- ${{ inputs.only-bump-suffix }}
- --create-tag
- ${{ inputs.create-tag }}
- --mode
- ${{ inputs.mode }}

0 comments on commit 2ea4c98

Please sign in to comment.