Skip to content

Commit 8a4a27a

Browse files
authored
feat: add support for specifying the git-cliff version (#71)
* feat: add support for specifying the git-cliff version * Update action.yml
1 parent 8fc5813 commit 8a4a27a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ inputs:
1313
template-config:
1414
description: "Path or URL to the template `cliff.toml` config file. See [`cliff-template.toml`](./cliff-template.toml) for a working example. **NOTE:** Only the `REPOSITORY_URL` is substituted."
1515
required: false
16+
git-cliff-version:
17+
description: "Provide the version for git-cliff. e.g latest, v2.10.0"
18+
required: false
19+
default: "latest"
1620
token:
1721
description: 'GITHUB_TOKEN or a Repo scoped PAT'
1822
required: false
@@ -40,6 +44,7 @@ runs:
4044
repository: git-cliff
4145
language-type: rust
4246
add-prefix-to-version: false
47+
version: ${{ inputs.git-cliff-version }}
4348

4449
- name: Generate a changelog
4550
shell: bash

0 commit comments

Comments
 (0)