changelog-updater-action/entrypoint.sh
Stefan Zweifel fbed2c00a9
Add support for new --parse-github-usernames option (#36)
* Add parse-github-usernames input

* Upgrade CLI
2023-07-02 10:14:29 +02:00

14 lines
351 B
Bash
Executable file

#!/bin/sh -l
php /changelog-updater update \
--release-notes="$1" \
--latest-version="$2" \
--release-date="$3" \
--path-to-changelog="$4" \
--compare-url-target-revision="$5" \
--heading-text="$6" \
$( [ "$7" ] && echo "--hide-release-date" ) \
$( [ "$8" ] && echo "--parse-github-usernames" ) \
--github-actions-output \
--write \
--no-interaction