Skip to content

Commit 3b54ec6

Browse files
Add hide-release-date option (#33)
* Update CLI * Add hide-release-date option * Update entrypoint.sh * Change default value
1 parent 0bbd0ce commit 3b54ec6

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ inputs:
2727
required: false
2828
default: null
2929
description: Text used in the new release heading. Defaults to the value from latest-version.
30+
hide-release-date:
31+
required: false
32+
default: null
33+
description: Hide release date in the new release heading.
3034

3135
outputs:
3236
release_compare_url:
@@ -50,3 +54,4 @@ runs:
5054
- ${{ inputs.path-to-changelog }}
5155
- ${{ inputs.compare-url-target-revision }}
5256
- ${{ inputs.heading-text }}
57+
- ${{ inputs.hide-release-date }}

changelog-updater

43 KB
Binary file not shown.

composer.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ php /changelog-updater update \
77
--path-to-changelog="$4" \
88
--compare-url-target-revision="$5" \
99
--heading-text="$6" \
10+
$( [ "$7" ] && echo "--hide-release-date" ) \
1011
--github-actions-output \
1112
--write \
1213
--no-interaction

0 commit comments

Comments
 (0)