mirror of
https://github.com/orhun/git-cliff-action.git
synced 2026-03-22 23:45:43 +08:00
feat(action): add output for the latest version (#12)
* feat: output `version` of the latest release * update readme
This commit is contained in:
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@@ -16,8 +16,10 @@ jobs:
|
||||
uses: ./
|
||||
with:
|
||||
config: fixtures/cliff.toml
|
||||
args: --verbose --strip 'footer' --exclude-path '.github/**'
|
||||
args: --verbose --strip 'footer' --exclude-path '.github/**' --tag 0.0.0
|
||||
env:
|
||||
OUTPUT: fixtures/CHANGELOG.md
|
||||
- name: Print the changelog
|
||||
run: cat "${{ steps.git-cliff.outputs.changelog }}"
|
||||
- name: Print the version
|
||||
run: echo "${{ steps.git-cliff.outputs.version }}"
|
||||
|
||||
Reference in New Issue
Block a user