mirror of
https://github.com/drewcassidy/yaclog.git
synced 2024-09-01 14:58:58 +00:00
minor action tweaks
(cherry picked from commit 73a5ae0f9b7e64f2c52d9928a9e3a7fc9d49555d)
This commit is contained in:
parent
d61208b583
commit
e3fc69d305
14
action.yaml
14
action.yaml
@ -1,7 +1,5 @@
|
|||||||
name: Yaclog
|
name: Yaclog
|
||||||
description: >
|
description: Get version information from a changelog
|
||||||
Get version information from a changelog, and optionally create a new release.
|
|
||||||
The `yaclog` command is made available for use in future steps.
|
|
||||||
branding:
|
branding:
|
||||||
icon: file-text
|
icon: file-text
|
||||||
color: orange
|
color: orange
|
||||||
@ -54,14 +52,8 @@ runs:
|
|||||||
if: ${{ inputs.release }}
|
if: ${{ inputs.release }}
|
||||||
run: yaclog release --yes --commit ${{ inputs.release }}
|
run: yaclog release --yes --commit ${{ inputs.release }}
|
||||||
|
|
||||||
- name: Get Version Information
|
- name: Get Changelog Information
|
||||||
id: yaclog-show
|
id: yaclog-show
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
yaclog show ---gh-actions ${{ inputs.markdown && '--markdown' }} >> "$GITHUB_OUTPUT"
|
yaclog show ---gh-actions ${{ inputs.markdown && '--markdown' }} | tee -a "$GITHUB_OUTPUT"
|
||||||
# output like so:
|
|
||||||
# name=Version 1.3.0
|
|
||||||
# header=Version 1.3.0 - 2024-08-08
|
|
||||||
# version=1.3.0
|
|
||||||
# body_file={path to file containing version body}
|
|
||||||
# changelog={path to changelog}
|
|
Loading…
Reference in New Issue
Block a user